diff options
Diffstat (limited to 'framework/src/domain/mime/attachmentmodel.cpp')
-rw-r--r-- | framework/src/domain/mime/attachmentmodel.cpp | 6 |
1 files changed, 3 insertions, 3 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 | } |