summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Heinecke <aheinecke@intevation.de>2016-08-04 16:26:18 (GMT)
committerAndre Heinecke <aheinecke@intevation.de>2016-08-04 16:26:18 (GMT)
commita76396774f49d4bdbbe97ac5e374b0283b605e13 (patch)
tree3f4970752885d78559fd33b4d1c94cc51b4c9d76
parentbdc575a44d9aa49bf226a05f9c890f6e9f3c365d (diff)
Silence unused variable warning
-rw-r--r--src/ui/keyselectioncombo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/keyselectioncombo.cpp b/src/ui/keyselectioncombo.cpp
index 0dcd2a8..f7ea0a6 100644
--- a/src/ui/keyselectioncombo.cpp
+++ b/src/ui/keyselectioncombo.cpp
@@ -120,6 +120,7 @@ public:
Qt::ItemFlags flags(const QModelIndex &index) const Q_DECL_OVERRIDE
{
+ Q_UNUSED(index);
return Qt::ItemIsEnabled | Qt::ItemIsSelectable | Qt::ItemNeverHasChildren;
}