diff options
Diffstat (limited to 'topicmodel.cpp')
-rw-r--r-- | topicmodel.cpp | 2 |
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, |