summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJan Holthuis <jan.holthuis@ruhr-uni-bochum.de>2020-03-09 10:48:48 +0100
committerJan Holthuis <jan.holthuis@ruhr-uni-bochum.de>2020-03-09 10:50:26 +0100
commit90b1109d32edad4c055c01406e0cfadfb5939b39 (patch)
tree80719662bc83ec9a99dd49583b92ef5061b3f849 /src
parentb4e9de9d8f86e4ee2ec5363cc39dc05f57c48ec0 (diff)
controllers/controllerengine: Declare immutable m_pConfig member as const
Diffstat (limited to 'src')
-rw-r--r--src/controllers/controllerengine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controllers/controllerengine.h b/src/controllers/controllerengine.h
index 25b2893d50..87a75abd73 100644
--- a/src/controllers/controllerengine.h
+++ b/src/controllers/controllerengine.h
@@ -197,7 +197,7 @@ class ControllerEngine : public QObject {
double getDeckRate(const QString& group);
Controller* m_pController;
- UserSettingsPointer m_pConfig;
+ const UserSettingsPointer m_pConfig;
bool m_bPopups;
QList<QString> m_scriptFunctionPrefixes;
QMap<QString, QStringList> m_scriptErrors;