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>
This commit is contained in:
jan Iversen 2020-01-16 11:05:53 +01:00 committed by Dirk Hohndel
parent de846bad96
commit 36b2014183

View file

@ -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