diff options
author | jan Iversen <jani@apache.org> | 2018-09-02 16:22:16 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-09-11 17:25:00 -0700 |
commit | 684e334fb6098e604a91d140c1e2ea0883dff081 (patch) | |
tree | 99dd5050bb53385125aa5fa6dc69514acbc2b40e /core/settings/qPref.cpp | |
parent | 4d57b52062ab902dee8d82e453eda586ce78ab3e (diff) | |
download | subsurface-684e334fb6098e604a91d140c1e2ea0883dff081.tar.gz |
core: declare cloud_status in qPrefCloudStorage
qml declaration of cloud_status (defined in pref.h) does not
belong in qPref.h but in qPrefCloudStorage
Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'core/settings/qPref.cpp')
-rw-r--r-- | core/settings/qPref.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/settings/qPref.cpp b/core/settings/qPref.cpp index 61561a188..2a455b4fd 100644 --- a/core/settings/qPref.cpp +++ b/core/settings/qPref.cpp @@ -64,7 +64,7 @@ void qPref::registerQML(QQmlEngine *engine) } // Register special types - qmlRegisterUncreatableType<qPref>("org.subsurfacedivelog.mobile",1,0,"CloudStatus","Enum is not a type"); + qmlRegisterUncreatableType<qPrefCloudStorage>("org.subsurfacedivelog.mobile",1,0,"CloudStatus","Enum is not a type"); qRegisterMetaType<deco_mode>(); qRegisterMetaType<def_file_behavior>(); qRegisterMetaType<taxonomy_category>(); |