diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-01-05 16:41:31 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-01-08 16:26:38 +0100 |
commit | e6f83f7b5af1ed3467d12f551fb7401238b7855e (patch) | |
tree | 72467dc4a2285c3ca2258c6af2cbd16409b190f6 /framework/src/domain/maillistmodel.cpp | |
parent | 0dc0b4be6e9ba07774efedee102a23e89eef8e85 (diff) | |
download | kube-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.cpp | 2 |
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 | ||
25 | MailListModel::MailListModel(QObject *parent) | 25 | MailListModel::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); |