summaryrefslogtreecommitdiffstats
path: root/framework/src/domain/maillistmodel.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-01-05 16:41:31 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-01-08 16:26:38 +0100
commite6f83f7b5af1ed3467d12f551fb7401238b7855e (patch)
tree72467dc4a2285c3ca2258c6af2cbd16409b190f6 /framework/src/domain/maillistmodel.cpp
parent0dc0b4be6e9ba07774efedee102a23e89eef8e85 (diff)
downloadkube-e6f83f7b5af1ed3467d12f551fb7401238b7855e.tar.gz
kube-e6f83f7b5af1ed3467d12f551fb7401238b7855e.zip
Set parent on model
Diffstat (limited to 'framework/src/domain/maillistmodel.cpp')
-rw-r--r--framework/src/domain/maillistmodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/src/domain/maillistmodel.cpp b/framework/src/domain/maillistmodel.cpp
index fa0dda04..83fd37ff 100644
--- a/framework/src/domain/maillistmodel.cpp
+++ b/framework/src/domain/maillistmodel.cpp
@@ -23,7 +23,7 @@
23#include <sink/standardqueries.h> 23#include <sink/standardqueries.h>
24 24
25MailListModel::MailListModel(QObject *parent) 25MailListModel::MailListModel(QObject *parent)
26 : QSortFilterProxyModel() 26 : QSortFilterProxyModel(parent)
27{ 27{
28 setDynamicSortFilter(true); 28 setDynamicSortFilter(true);
29 sort(0, Qt::DescendingOrder); 29 sort(0, Qt::DescendingOrder);