From 36b20141839e4c24d569f7b1428d956efaee5c3f Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Thu, 16 Jan 2020 11:05:53 +0100 Subject: 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 --- core/settings/qPref.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'core/settings/qPref.cpp') 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 -- cgit v1.2.3-70-g09d2