summaryrefslogtreecommitdiff
path: root/topicmodel.cpp
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2013-04-06 21:23:27 +0200
committerJavier S. Pedro <maemo@javispedro.com>2013-04-06 21:23:27 +0200
commitf53ed1cdf47fbc44f7e8d2677e9020192e0c9d85 (patch)
treebf47b572e788bac1c89928761057d26adb803794 /topicmodel.cpp
parentb0886b317fd6de5fa960392b2a8a0dbb557475f5 (diff)
downloadtapasboard-f53ed1cdf47fbc44f7e8d2677e9020192e0c9d85.tar.gz
tapasboard-f53ed1cdf47fbc44f7e8d2677e9020192e0c9d85.zip
fix small issue
Diffstat (limited to 'topicmodel.cpp')
-rw-r--r--topicmodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/topicmodel.cpp b/topicmodel.cpp
index 65d3e4b..c7932aa 100644
--- a/topicmodel.cpp
+++ b/topicmodel.cpp
@@ -174,7 +174,7 @@ void TopicModel::fetchMore(const QModelIndex &parent)
// If the posts we got from DB are too old, refresh online.
if (last.secsTo(QDateTime::currentDateTimeUtc()) > TOPIC_POSTS_TLL) {
qDebug() << "Fetching posts because of old";
- Q_ASSERT(new_end > 0);
+ Q_ASSERT(new_end >= 0);
_board->enqueueAction(new FetchPostsAction(_topicId,
start,
new_end,