summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Krause <[email protected]>2015-10-31 11:57:22 +0100
committerVolker Krause <[email protected]>2015-10-31 11:57:22 +0100
commit67e9a9a3d3ddce1abbf930b0bbee1046f9dc47a9 (patch)
tree7dad7ca9ab98c80659a05835cc81fe727be3bf72
parentb0194879c4dfad56a5c5b7a19deab1519d9eae07 (diff)
Silence warnings, argument isn't needed here.
-rw-r--r--akonadiconsole/monitorsmodel.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/akonadiconsole/monitorsmodel.cpp b/akonadiconsole/monitorsmodel.cpp
index 278700d..3ba89da 100644
--- a/akonadiconsole/monitorsmodel.cpp
+++ b/akonadiconsole/monitorsmodel.cpp
@@ -136,6 +136,7 @@ QVariant MonitorsModel::data(const QModelIndex &index, int role) const
int MonitorsModel::columnCount(const QModelIndex &parent) const
{
+ Q_UNUSED(parent);
return ColumnsCount;
}
@@ -157,6 +158,7 @@ QModelIndex MonitorsModel::parent(const QModelIndex &child) const
QModelIndex MonitorsModel::index(int row, int column, const QModelIndex &parent) const
{
+ Q_UNUSED(parent);
if (row >= mData.uniqueKeys().count()) {
return QModelIndex();
}