summaryrefslogtreecommitdiffstats
path: root/logic/settings
diff options
context:
space:
mode:
Diffstat (limited to 'logic/settings')
-rw-r--r--logic/settings/SettingsObject.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/logic/settings/SettingsObject.cpp b/logic/settings/SettingsObject.cpp
index b28033c5..280c07fa 100644
--- a/logic/settings/SettingsObject.cpp
+++ b/logic/settings/SettingsObject.cpp
@@ -16,7 +16,7 @@
#include "logic/settings/SettingsObject.h"
#include "logic/settings/Setting.h"
#include "logic/settings/OverrideSetting.h"
-#include "logger/QsLog.h"
+#include <QDebug>
#include <QVariant>
@@ -33,7 +33,7 @@ std::shared_ptr<Setting> SettingsObject::registerOverride(std::shared_ptr<Settin
{
if (contains(original->id()))
{
- QLOG_ERROR() << QString("Failed to register setting %1. ID already exists.")
+ qCritical() << QString("Failed to register setting %1. ID already exists.")
.arg(original->id());
return nullptr; // Fail
}
@@ -50,7 +50,7 @@ std::shared_ptr<Setting> SettingsObject::registerSetting(QStringList synonyms, Q
return nullptr;
if (contains(synonyms.first()))
{
- QLOG_ERROR() << QString("Failed to register setting %1. ID already exists.")
+ qCritical() << QString("Failed to register setting %1. ID already exists.")
.arg(synonyms.first());
return nullptr; // Fail
}
@@ -81,7 +81,7 @@ bool SettingsObject::set(const QString &id, QVariant value)
auto setting = getSetting(id);
if (!setting)
{
- QLOG_ERROR() << QString("Error changing setting %1. Setting doesn't exist.").arg(id);
+ qCritical() << QString("Error changing setting %1. Setting doesn't exist.").arg(id);
return false;
}
else