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
commit 9104351c89
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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