Qt: Fix weird naming issue on linux

This commit is contained in:
Megamouse 2021-02-07 15:07:42 +01:00 committed by Ivan
parent 62ca7a9b60
commit 7c683c368d
3 changed files with 9 additions and 9 deletions

View file

@ -466,11 +466,11 @@ void gui_application::OnChangeStyleSheetRequest()
const QString stylesheet = m_gui_settings->GetValue(gui::m_currentStylesheet).toString();
if (stylesheet.isEmpty() || stylesheet == gui::Default)
if (stylesheet.isEmpty() || stylesheet == gui::DefaultStylesheet)
{
setStyleSheet(gui::stylesheets::default_style_sheet);
}
else if (stylesheet == gui::None)
else if (stylesheet == gui::NoStylesheet)
{
setStyleSheet("/* none */");
}