|
|
|
@ -11,8 +11,6 @@
|
|
|
|
|
#include <QFile>
|
|
|
|
|
#include <QSortFilterProxyModel>
|
|
|
|
|
|
|
|
|
|
#include <QDebug>
|
|
|
|
|
|
|
|
|
|
#include <components/files/configurationmanager.hpp>
|
|
|
|
|
#include <boost/version.hpp>
|
|
|
|
|
|
|
|
|
@ -263,13 +261,11 @@ void CSMSettings::UserSettings::saveSettings
|
|
|
|
|
QString CSMSettings::UserSettings::settingValue (const QString &settingKey)
|
|
|
|
|
{
|
|
|
|
|
QStringList names = settingKey.split('.');
|
|
|
|
|
qDebug () << "looking for " << names.at(0) << ',' << names.at(1);
|
|
|
|
|
|
|
|
|
|
Setting *setting = findSetting(names.at(0), names.at(1));
|
|
|
|
|
|
|
|
|
|
if (setting)
|
|
|
|
|
{
|
|
|
|
|
qDebug() << "setting found";
|
|
|
|
|
if (!setting->definedValues().isEmpty())
|
|
|
|
|
return setting->definedValues().at(0);
|
|
|
|
|
}
|
|
|
|
|