diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-04-03 23:28:26 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-04-04 09:29:45 -0700 |
commit | e9fa298d06bdeb267a7931f9b54cd82b3c1e3a1b (patch) | |
tree | 76da76d01c0c1fc0740f7c5b415cdc6f3b9253ff /core/settings | |
parent | 2ead52b1398aef218c18d056c5a4da6b1d686ca5 (diff) | |
download | subsurface-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.h | 2 |
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); |