From 96be258521ead8c361be5691904ee1654ced9d1b Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Tue, 6 Feb 2018 08:44:50 +0100 Subject: Fixed warnings --- framework/src/domain/identitiesmodel.cpp | 2 +- framework/src/domain/outboxmodel.cpp | 2 +- framework/src/domain/recepientautocompletionmodel.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'framework/src/domain') diff --git a/framework/src/domain/identitiesmodel.cpp b/framework/src/domain/identitiesmodel.cpp index 029c6b00..ec91fdec 100644 --- a/framework/src/domain/identitiesmodel.cpp +++ b/framework/src/domain/identitiesmodel.cpp @@ -22,7 +22,7 @@ using namespace Sink; -IdentitiesModel::IdentitiesModel(QObject *parent) : QIdentityProxyModel() +IdentitiesModel::IdentitiesModel(QObject *parent) : QIdentityProxyModel(parent) { Sink::Query query; query.setFlags(Query::LiveQuery); diff --git a/framework/src/domain/outboxmodel.cpp b/framework/src/domain/outboxmodel.cpp index 237648b1..b093c3d1 100644 --- a/framework/src/domain/outboxmodel.cpp +++ b/framework/src/domain/outboxmodel.cpp @@ -30,7 +30,7 @@ OutboxModel::OutboxModel(QObject *parent) - : QSortFilterProxyModel(), + : QSortFilterProxyModel(parent), mNotifier(new Sink::Notifier{Sink::Query{}.containsFilter(Sink::ApplicationDomain::ResourceCapabilities::Mail::transport)}), mStatus(NoStatus) { diff --git a/framework/src/domain/recepientautocompletionmodel.cpp b/framework/src/domain/recepientautocompletionmodel.cpp index c1bcb292..0fa7c0ac 100644 --- a/framework/src/domain/recepientautocompletionmodel.cpp +++ b/framework/src/domain/recepientautocompletionmodel.cpp @@ -30,7 +30,7 @@ using namespace Sink::ApplicationDomain; RecipientAutocompletionModel::RecipientAutocompletionModel(QObject *parent) - : QSortFilterProxyModel(), + : QSortFilterProxyModel(parent), mSourceModel(new QStandardItemModel), mTimer(new QTimer) { -- cgit v1.2.3