summaryrefslogtreecommitdiffstats
path: root/framework/src/domain/maillistmodel.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-08-17 15:34:43 -0600
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-08-17 20:02:44 -0600
commit223398c1671966c27923468502fb17d4583f9ac6 (patch)
treee498b0ee8ce2ca11689de4053115d5e86f596222 /framework/src/domain/maillistmodel.cpp
parentde4be82bf141f1eb5f57189bf251123e57996f28 (diff)
downloadkube-223398c1671966c27923468502fb17d4583f9ac6.tar.gz
kube-223398c1671966c27923468502fb17d4583f9ac6.zip
Latest mail at the bottom
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 2d9f3147..fa0dda04 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 on top 298 //Latest mail at the bottom
299 sort(0, Qt::DescendingOrder); 299 sort(0, Qt::AscendingOrder);
300 runQuery(query); 300 runQuery(query);
301} 301}
302 302