summaryrefslogtreecommitdiffstats
path: root/framework/src/domain/mime/partmodel.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-08-26 14:32:56 -0600
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-08-26 14:32:56 -0600
commitdd8bf7b48f267e45b3908882dbc645dbad14df58 (patch)
treea9f31cab30a1ef01a0a8b6b00e2a792c6c1f1c6e /framework/src/domain/mime/partmodel.cpp
parentdd6348e1a98407b91f6758a38f42d849274866a3 (diff)
downloadkube-dd8bf7b48f267e45b3908882dbc645dbad14df58.tar.gz
kube-dd8bf7b48f267e45b3908882dbc645dbad14df58.zip
Cleanup
Diffstat (limited to 'framework/src/domain/mime/partmodel.cpp')
-rw-r--r--framework/src/domain/mime/partmodel.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/src/domain/mime/partmodel.cpp b/framework/src/domain/mime/partmodel.cpp
index 9f802375..331ef379 100644
--- a/framework/src/domain/mime/partmodel.cpp
+++ b/framework/src/domain/mime/partmodel.cpp
@@ -82,7 +82,7 @@ QHash<int, QByteArray> PartModel::roleNames() const
82 QHash<int, QByteArray> roles; 82 QHash<int, QByteArray> roles;
83 roles[TypeRole] = "type"; 83 roles[TypeRole] = "type";
84 roles[ContentRole] = "content"; 84 roles[ContentRole] = "content";
85 roles[IsEmbededRole] = "embeded"; 85 roles[IsEmbeddedRole] = "embedded";
86 roles[IsEncryptedRole] = "encrypted"; 86 roles[IsEncryptedRole] = "encrypted";
87 roles[IsSignedRole] = "signed"; 87 roles[IsSignedRole] = "signed";
88 roles[SecurityLevelRole] = "securityLevel"; 88 roles[SecurityLevelRole] = "securityLevel";
@@ -191,7 +191,7 @@ QVariant PartModel::data(const QModelIndex &index, int role) const
191 } 191 }
192 return "plain"; 192 return "plain";
193 } 193 }
194 case IsEmbededRole: 194 case IsEmbeddedRole:
195 return false; 195 return false;
196 case IsErrorRole: 196 case IsErrorRole:
197 return messagePart->error(); 197 return messagePart->error();
@@ -290,7 +290,7 @@ int PartModel::rowCount(const QModelIndex &parent) const
290 return d->mParts.count(); 290 return d->mParts.count();
291} 291}
292 292
293int PartModel::columnCount(const QModelIndex &parent) const 293int PartModel::columnCount(const QModelIndex &) const
294{ 294{
295 return 1; 295 return 1;
296} 296}