From 17e8c97323f3fa81a3fb21d4189dd33060936b7c Mon Sep 17 00:00:00 2001 From: "joaquin.f.fernandez" Date: Tue, 27 Aug 2024 21:37:24 -0300 Subject: [PATCH] Fix GUI debug flags bug. --- src/gui/utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/utils.cpp b/src/gui/utils.cpp index 0b3e2fb2..7003f3bf 100644 --- a/src/gui/utils.cpp +++ b/src/gui/utils.cpp @@ -36,7 +36,7 @@ bool Utils::isSet(AppFlags flag) { QSettings settings(QCoreApplication::applicationDirPath() + "/qss-solver.ini", QSettings::IniFormat); QString val = settings.value(appFlagName(flag), "Value not found in file qss-solver.ini").toString(); - return val.isEmpty(); + return val == "true"; } QString Utils::getDebugValue()