mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 14:08:37 +00:00
Qt: remove redundant custom toolbar colors.
They got too complicated when used with stylesheets. I left the gamelist icon color option since it does in no way interfere with the stylesheets
This commit is contained in:
parent
1270ee4b38
commit
3a5ce90148
7 changed files with 38 additions and 130 deletions
|
|
@ -191,7 +191,7 @@ void gui_settings::SetGamelistColVisibility(int col, bool val)
|
|||
|
||||
void gui_settings::SetCustomColor(int col, const QColor& val)
|
||||
{
|
||||
SetValue(gui_save(gui::meta, "CustomColor" + QString::number(col), gui::mw_tool_bar_color), val);
|
||||
SetValue(gui_save(gui::meta, "CustomColor" + QString::number(col), gui::gl_icon_color), val);
|
||||
}
|
||||
|
||||
void gui_settings::SaveCurrentConfig(const QString& friendlyName)
|
||||
|
|
@ -212,7 +212,7 @@ bool gui_settings::GetGamelistColVisibility(int col)
|
|||
|
||||
QColor gui_settings::GetCustomColor(int col)
|
||||
{
|
||||
return GetValue(gui_save(gui::meta, "CustomColor" + QString::number(col), gui::mw_tool_bar_color)).value<QColor>();
|
||||
return GetValue(gui_save(gui::meta, "CustomColor" + QString::number(col), gui::gl_icon_color)).value<QColor>();
|
||||
}
|
||||
|
||||
QStringList gui_settings::GetConfigEntries()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue