summaryrefslogtreecommitdiff
path: root/forummodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'forummodel.cpp')
-rw-r--r--forummodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/forummodel.cpp b/forummodel.cpp
index aecb8c2..3167769 100644
--- a/forummodel.cpp
+++ b/forummodel.cpp
@@ -127,7 +127,7 @@ void ForumModel::fetchMore(const QModelIndex &parent)
// If the topics we got from DB are too old, refresh online.
if (last.secsTo(QDateTime::currentDateTimeUtc()) > FORUM_TOPICS_TLL) {
qDebug() << "Fetching topics because of old";
- Q_ASSERT(new_end > 0);
+ Q_ASSERT(new_end >= 0);
_board->enqueueAction(new FetchTopicsAction(_forumId,
start,
new_end,