diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-08-17 15:34:43 -0600 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-08-17 20:02:44 -0600 |
commit | 223398c1671966c27923468502fb17d4583f9ac6 (patch) | |
tree | e498b0ee8ce2ca11689de4053115d5e86f596222 /framework/src/domain/maillistmodel.cpp | |
parent | de4be82bf141f1eb5f57189bf251123e57996f28 (diff) | |
download | kube-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.cpp | 4 |
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 | ||