Backport changes to v5.0.x branch

PR #21679.
This commit is contained in:
Vladimir Golovnev
2024-10-24 12:55:50 +03:00
committed by GitHub
417 changed files with 5879 additions and 5311 deletions

View File

@@ -429,6 +429,19 @@ void Preferences::setWinStartup(const bool b)
settings.remove(profileID);
}
}
QString Preferences::getStyle() const
{
return value<QString>(u"Appearance/Style"_s);
}
void Preferences::setStyle(const QString &styleName)
{
if (styleName == getStyle())
return;
setValue(u"Appearance/Style"_s, styleName);
}
#endif // Q_OS_WIN
// Downloads