From 57fe704546267048fe3d4dcc441a9b76c0f4e55a Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Fri, 9 Feb 2018 23:41:53 +0100 Subject: Fixed warnings --- framework/src/domain/mime/attachmentmodel.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'framework/src/domain/mime') 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 AttachmentModel::roleNames() const return roles; } -QModelIndex AttachmentModel::index(int row, int column, const QModelIndex &parent) const +QModelIndex AttachmentModel::index(int row, int column, const QModelIndex &) const { if (row < 0 || column != 0) { return QModelIndex(); @@ -210,7 +210,7 @@ bool AttachmentModel::openAttachment(const QModelIndex &index) return false; } -QModelIndex AttachmentModel::parent(const QModelIndex &index) const +QModelIndex AttachmentModel::parent(const QModelIndex &) const { return QModelIndex(); } @@ -223,7 +223,7 @@ int AttachmentModel::rowCount(const QModelIndex &parent) const return 0; } -int AttachmentModel::columnCount(const QModelIndex &parent) const +int AttachmentModel::columnCount(const QModelIndex &) const { return 1; } -- cgit v1.2.3