Windows: Remove unused Qt 5 code and references

This commit is contained in:
Dentomologist
2022-05-09 17:01:14 -07:00
parent 7fcc866c41
commit 059cd5f6e1
2 changed files with 1 additions and 11 deletions

View File

@ -119,8 +119,7 @@ QString Settings::GetCurrentUserStyle() const
return QFileInfo(GetQSettings().value(QStringLiteral("userstyle/path")).toString()).fileName();
}
// Calling this before the main window has been created breaks the style of some widgets on
// Windows 10/Qt 5.15.0. But only if we set a stylesheet that isn't an empty string.
// Calling this before the main window has been created breaks the style of some widgets.
void Settings::SetCurrentUserStyle(const QString& stylesheet_name)
{
QString stylesheet_contents;