From 223398c1671966c27923468502fb17d4583f9ac6 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Thu, 17 Aug 2017 15:34:43 -0600 Subject: Latest mail at the bottom --- framework/src/domain/maillistmodel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'framework/src') 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) mFetchMails = true; mFetchedMails.clear(); qDebug() << "Running mail query: " << mail->resourceInstanceIdentifier() << mail->identifier(); - //Latest mail on top - sort(0, Qt::DescendingOrder); + //Latest mail at the bottom + sort(0, Qt::AscendingOrder); runQuery(query); } -- cgit v1.2.3