From f53ed1cdf47fbc44f7e8d2677e9020192e0c9d85 Mon Sep 17 00:00:00 2001 From: "Javier S. Pedro" Date: Sat, 6 Apr 2013 21:23:27 +0200 Subject: fix small issue --- topicmodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'topicmodel.cpp') 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, -- cgit v1.2.3