mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 16:31:28 +12:00
Qt: fix stylesheet warning
This commit is contained in:
parent
7915dcb23c
commit
7cf82d2511
1 changed files with 2 additions and 2 deletions
|
@ -1232,7 +1232,7 @@ void settings_dialog::AddStylesheets()
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
LOG_WARNING(GENERAL, "Trying to set an invalid stylesheets index ", index);
|
LOG_WARNING(GENERAL, "Trying to set an invalid stylesheets index: %d (%s)", index, sstr(m_currentStylesheet));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1294,7 +1294,7 @@ void settings_dialog::OnApplyConfig()
|
||||||
|
|
||||||
void settings_dialog::OnApplyStylesheet()
|
void settings_dialog::OnApplyStylesheet()
|
||||||
{
|
{
|
||||||
m_currentStylesheet = ui->combo_stylesheets->currentText();
|
m_currentStylesheet = ui->combo_stylesheets->currentData().toString();
|
||||||
xgui_settings->SetValue(gui::m_currentStylesheet, m_currentStylesheet);
|
xgui_settings->SetValue(gui::m_currentStylesheet, m_currentStylesheet);
|
||||||
Q_EMIT GuiStylesheetRequest(xgui_settings->GetCurrentStylesheetPath());
|
Q_EMIT GuiStylesheetRequest(xgui_settings->GetCurrentStylesheetPath());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue