We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2959074 commit cb9381aCopy full SHA for cb9381a
gui/src/style.cpp
@@ -279,8 +279,8 @@ const char *Style::replaceProperty(const char *prop)
279
for(const QString &key : m_theme_json->object().keys()) {
280
if(prop == key) {
281
QJsonValue value = m_theme_json->object().value(key);
282
- prop = value.toString().toLocal8Bit().data();
283
- return strdup(prop);
+ prop = strdup(value.toString().toLocal8Bit().data());
+ return prop;
284
}
285
286
0 commit comments