summaryrefslogtreecommitdiffstats
path: root/core/settings
diff options
context:
space:
mode:
authorGravatar jan Iversen <jan@casacondor.com>2020-01-16 11:05:53 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-01-17 08:51:04 -0800
commit36b20141839e4c24d569f7b1428d956efaee5c3f (patch)
tree364156ca5bf8e49527d7a2433c04653f0cf41d7c /core/settings
parentde846bad96e5a8ff1623daa4c6c9bcd39558f83e (diff)
downloadsubsurface-36b20141839e4c24d569f7b1428d956efaee5c3f.tar.gz
core/settings: correct copy/paste error.
The registration for several Pref* point at wrong C++ object, correct the paste error. Signed-off-by: jan Iversen <jan@casacondor.com>
Diffstat (limited to 'core/settings')
-rw-r--r--core/settings/qPref.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/settings/qPref.cpp b/core/settings/qPref.cpp
index 4138b0c82..bea5b73d1 100644
--- a/core/settings/qPref.cpp
+++ b/core/settings/qPref.cpp
@@ -67,10 +67,10 @@ void qPref::registerQML(QQmlEngine *engine)
ct->setContextProperty("PrefTechnicalDetails", qPrefTechnicalDetails::instance());
ct->setContextProperty("PrefUnits", qPrefUnits::instance());
ct->setContextProperty("PrefUpdateManager", qPrefUpdateManager::instance());
- ct->setContextProperty("PrefEquipment", qPrefUpdateManager::instance());
- ct->setContextProperty("PrefMedia", qPrefUpdateManager::instance());
+ ct->setContextProperty("PrefEquipment", qPrefEquipment::instance());
+ ct->setContextProperty("PrefMedia", qPrefMedia::instance());
ct->setContextProperty("PrefClearDc", qPrefUpdateManager::instance());
- ct->setContextProperty("PrefLog", qPrefUpdateManager::instance());
+ ct->setContextProperty("PrefLog", qPrefLog::instance());
}
// Register special types