summaryrefslogtreecommitdiffstats
path: root/core/settings
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-04-03 23:28:26 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-04-04 09:29:45 -0700
commite9fa298d06bdeb267a7931f9b54cd82b3c1e3a1b (patch)
tree76da76d01c0c1fc0740f7c5b415cdc6f3b9253ff /core/settings
parent2ead52b1398aef218c18d056c5a4da6b1d686ca5 (diff)
downloadsubsurface-e9fa298d06bdeb267a7931f9b54cd82b3c1e3a1b.tar.gz
Cleanup: make qPref::registerQML() static
This member function does not access any other member of the object. Make it static. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/settings')
-rw-r--r--core/settings/qPref.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/settings/qPref.h b/core/settings/qPref.h
index 2fee5e29a..7628e1c4a 100644
--- a/core/settings/qPref.h
+++ b/core/settings/qPref.h
@@ -18,7 +18,7 @@ public:
static void sync() { loadSync(true); }
// Register QML
- void registerQML(QQmlEngine *engine);
+ static void registerQML(QQmlEngine *engine);
private:
static void loadSync(bool doSync);