mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-10 06:39:49 +00:00
removed some debug statements
This commit is contained in:
parent
c63d6437c0
commit
42b332775a
@ -11,8 +11,6 @@
|
|||||||
#include <QFile>
|
#include <QFile>
|
||||||
#include <QSortFilterProxyModel>
|
#include <QSortFilterProxyModel>
|
||||||
|
|
||||||
#include <QDebug>
|
|
||||||
|
|
||||||
#include <components/files/configurationmanager.hpp>
|
#include <components/files/configurationmanager.hpp>
|
||||||
#include <boost/version.hpp>
|
#include <boost/version.hpp>
|
||||||
|
|
||||||
@ -263,13 +261,11 @@ void CSMSettings::UserSettings::saveSettings
|
|||||||
QString CSMSettings::UserSettings::settingValue (const QString &settingKey)
|
QString CSMSettings::UserSettings::settingValue (const QString &settingKey)
|
||||||
{
|
{
|
||||||
QStringList names = settingKey.split('.');
|
QStringList names = settingKey.split('.');
|
||||||
qDebug () << "looking for " << names.at(0) << ',' << names.at(1);
|
|
||||||
|
|
||||||
Setting *setting = findSetting(names.at(0), names.at(1));
|
Setting *setting = findSetting(names.at(0), names.at(1));
|
||||||
|
|
||||||
if (setting)
|
if (setting)
|
||||||
{
|
{
|
||||||
qDebug() << "setting found";
|
|
||||||
if (!setting->definedValues().isEmpty())
|
if (!setting->definedValues().isEmpty())
|
||||||
return setting->definedValues().at(0);
|
return setting->definedValues().at(0);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user