summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFriedrich W. H. Kossebau <[email protected]>2016-07-08 04:28:11 +0200
committerFriedrich W. H. Kossebau <[email protected]>2016-07-08 04:28:11 +0200
commit5564b11f74ae7073fc1da1014c781f3cd3ad8026 (patch)
tree27f7bb54bd9b5c2910f4ea72c864bd63b76879fe
parenteaa9d60b6f2e2822dc454f68ad4fa2457baf841a (diff)
Make var/symbol for arrays with signal & slot names really const
-rw-r--r--src/lib/marble/kdescendantsproxymodel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/marble/kdescendantsproxymodel.cpp b/src/lib/marble/kdescendantsproxymodel.cpp
index 31cf5e3..6e43592 100644
--- a/src/lib/marble/kdescendantsproxymodel.cpp
+++ b/src/lib/marble/kdescendantsproxymodel.cpp
@@ -249,7 +249,7 @@ void KDescendantsProxyModel::setSourceModel(QAbstractItemModel *_sourceModel)
{
beginResetModel();
- static const char *modelSignals[] = {
+ static const char *const modelSignals[] = {
SIGNAL(rowsAboutToBeInserted(QModelIndex,int,int)),
SIGNAL(rowsInserted(QModelIndex,int,int)),
SIGNAL(rowsAboutToBeRemoved(QModelIndex,int,int)),
@@ -263,7 +263,7 @@ void KDescendantsProxyModel::setSourceModel(QAbstractItemModel *_sourceModel)
SIGNAL(layoutChanged()),
SIGNAL(destroyed())
};
- static const char *proxySlots[] = {
+ static const char *const proxySlots[] = {
SLOT(sourceRowsAboutToBeInserted(QModelIndex,int,int)),
SLOT(sourceRowsInserted(QModelIndex,int,int)),
SLOT(sourceRowsAboutToBeRemoved(QModelIndex,int,int)),