summaryrefslogtreecommitdiffstats
path: root/framework
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-02-09 23:41:53 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-02-11 23:01:39 +0100
commit57fe704546267048fe3d4dcc441a9b76c0f4e55a (patch)
treea4da92937ddd49cb9725b79d26a1470cdcfe0a8a /framework
parent96be258521ead8c361be5691904ee1654ced9d1b (diff)
downloadkube-57fe704546267048fe3d4dcc441a9b76c0f4e55a.tar.gz
kube-57fe704546267048fe3d4dcc441a9b76c0f4e55a.zip
Fixed warnings
Diffstat (limited to 'framework')
-rw-r--r--framework/src/domain/mime/attachmentmodel.cpp6
-rw-r--r--framework/src/domain/peoplemodel.cpp2
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
94QModelIndex AttachmentModel::index(int row, int column, const QModelIndex &parent) const 94QModelIndex 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
213QModelIndex AttachmentModel::parent(const QModelIndex &index) const 213QModelIndex 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
226int AttachmentModel::columnCount(const QModelIndex &parent) const 226int 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
25PeopleModel::PeopleModel(QObject *parent) 25PeopleModel::PeopleModel(QObject *parent)
26 : QSortFilterProxyModel() 26 : QSortFilterProxyModel(parent)
27{ 27{
28 using namespace Sink::ApplicationDomain; 28 using namespace Sink::ApplicationDomain;
29 29