diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-02-09 23:41:53 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-02-11 23:01:39 +0100 |
commit | 57fe704546267048fe3d4dcc441a9b76c0f4e55a (patch) | |
tree | a4da92937ddd49cb9725b79d26a1470cdcfe0a8a | |
parent | 96be258521ead8c361be5691904ee1654ced9d1b (diff) | |
download | kube-57fe704546267048fe3d4dcc441a9b76c0f4e55a.tar.gz kube-57fe704546267048fe3d4dcc441a9b76c0f4e55a.zip |
Fixed warnings
-rw-r--r-- | framework/src/domain/mime/attachmentmodel.cpp | 6 | ||||
-rw-r--r-- | framework/src/domain/peoplemodel.cpp | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/framework/src/domain/mime/attachmentmodel.cpp b/framework/src/domain/mime/attachmentmodel.cpp index 34843960..2eb2cc13 100644 --- a/framework/src/domain/mime/attachmentmodel.cpp +++ b/framework/src/domain/mime/attachmentmodel.cpp | |||
@@ -91,7 +91,7 @@ QHash<int, QByteArray> AttachmentModel::roleNames() const | |||
91 | return roles; | 91 | return roles; |
92 | } | 92 | } |
93 | 93 | ||
94 | QModelIndex AttachmentModel::index(int row, int column, const QModelIndex &parent) const | 94 | QModelIndex AttachmentModel::index(int row, int column, const QModelIndex &) const |
95 | { | 95 | { |
96 | if (row < 0 || column != 0) { | 96 | if (row < 0 || column != 0) { |
97 | return QModelIndex(); | 97 | return QModelIndex(); |
@@ -210,7 +210,7 @@ bool AttachmentModel::openAttachment(const QModelIndex &index) | |||
210 | return false; | 210 | return false; |
211 | } | 211 | } |
212 | 212 | ||
213 | QModelIndex AttachmentModel::parent(const QModelIndex &index) const | 213 | QModelIndex AttachmentModel::parent(const QModelIndex &) const |
214 | { | 214 | { |
215 | return QModelIndex(); | 215 | return QModelIndex(); |
216 | } | 216 | } |
@@ -223,7 +223,7 @@ int AttachmentModel::rowCount(const QModelIndex &parent) const | |||
223 | return 0; | 223 | return 0; |
224 | } | 224 | } |
225 | 225 | ||
226 | int AttachmentModel::columnCount(const QModelIndex &parent) const | 226 | int AttachmentModel::columnCount(const QModelIndex &) const |
227 | { | 227 | { |
228 | return 1; | 228 | return 1; |
229 | } | 229 | } |
diff --git a/framework/src/domain/peoplemodel.cpp b/framework/src/domain/peoplemodel.cpp index 099c680a..108cab48 100644 --- a/framework/src/domain/peoplemodel.cpp +++ b/framework/src/domain/peoplemodel.cpp | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <sink/store.h> | 23 | #include <sink/store.h> |
24 | 24 | ||
25 | PeopleModel::PeopleModel(QObject *parent) | 25 | PeopleModel::PeopleModel(QObject *parent) |
26 | : QSortFilterProxyModel() | 26 | : QSortFilterProxyModel(parent) |
27 | { | 27 | { |
28 | using namespace Sink::ApplicationDomain; | 28 | using namespace Sink::ApplicationDomain; |
29 | 29 | ||