mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-12 09:48:37 +12:00
stylesheets: fix default not working
This commit is contained in:
parent
6d14583f28
commit
ea462ae7d7
1 changed files with 8 additions and 1 deletions
|
@ -297,5 +297,12 @@ QStringList gui_settings::GetStylesheetEntries()
|
||||||
|
|
||||||
QString gui_settings::GetCurrentStylesheetPath()
|
QString gui_settings::GetCurrentStylesheetPath()
|
||||||
{
|
{
|
||||||
return settingsDir.absoluteFilePath(GetValue(GUI::m_currentStylesheet).toString() + ".qss");
|
QString stylesheet = GetValue(GUI::m_currentStylesheet).toString();
|
||||||
|
|
||||||
|
if (stylesheet == "default")
|
||||||
|
{
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
|
||||||
|
return settingsDir.absoluteFilePath(stylesheet + ".qss");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue