summaryrefslogtreecommitdiffstats
path: root/framework/src/domain/maillistmodel.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-07-12 00:45:41 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-07-12 00:45:41 +0200
commit03d607e379ac9fe48315ce121ada76338ed6686d (patch)
tree756e2e8c5786f6019368245d5d41834af7d0237f /framework/src/domain/maillistmodel.cpp
parentcc9a3b98d143b921388725b55e99ae9e151e525b (diff)
downloadkube-03d607e379ac9fe48315ce121ada76338ed6686d.tar.gz
kube-03d607e379ac9fe48315ce121ada76338ed6686d.zip
Instead of emulating it we can also just layout the items in reverse
order
Diffstat (limited to 'framework/src/domain/maillistmodel.cpp')
-rw-r--r--framework/src/domain/maillistmodel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/src/domain/maillistmodel.cpp b/framework/src/domain/maillistmodel.cpp
index fa0dda04..2d9f3147 100644
--- a/framework/src/domain/maillistmodel.cpp
+++ b/framework/src/domain/maillistmodel.cpp
@@ -295,8 +295,8 @@ void MailListModel::setMail(const QVariant &variant)
295 mFetchMails = true; 295 mFetchMails = true;
296 mFetchedMails.clear(); 296 mFetchedMails.clear();
297 qDebug() << "Running mail query: " << mail->resourceInstanceIdentifier() << mail->identifier(); 297 qDebug() << "Running mail query: " << mail->resourceInstanceIdentifier() << mail->identifier();
298 //Latest mail at the bottom 298 //Latest mail on top
299 sort(0, Qt::AscendingOrder); 299 sort(0, Qt::DescendingOrder);
300 runQuery(query); 300 runQuery(query);
301} 301}
302 302