From c617b1703764729be489ab31c05b0f14c4ebaa05 Mon Sep 17 00:00:00 2001 From: Megamouse Date: Wed, 12 Jul 2017 23:32:22 +0200 Subject: [PATCH] settings_dialog: add color picker for gamelist tool icons --- rpcs3/rpcs3qt/settings_dialog.cpp | 3 ++- rpcs3/rpcs3qt/settings_dialog.ui | 11 +++++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/rpcs3/rpcs3qt/settings_dialog.cpp b/rpcs3/rpcs3qt/settings_dialog.cpp index 658146c6ae..4dd8880137 100644 --- a/rpcs3/rpcs3qt/settings_dialog.cpp +++ b/rpcs3/rpcs3qt/settings_dialog.cpp @@ -703,7 +703,8 @@ settings_dialog::settings_dialog(std::shared_ptr xSettings, const xgui_settings->SetValue(color, dlg.selectedColor()); } }; - connect(ui->pb_icon_color, &QAbstractButton::clicked, [=]() { colorDialog(GUI::gl_iconColor, "Choose icon color"); }); + connect(ui->pb_gl_icon_color, &QAbstractButton::clicked, [=]() { colorDialog(GUI::gl_iconColor, "Choose gamelist icon color"); }); + connect(ui->pb_gl_tool_icon_color, &QAbstractButton::clicked, [=]() { colorDialog(GUI::gl_toolIconColor, "Choose gamelist tool icon color"); }); connect(ui->pb_tool_bar_color, &QAbstractButton::clicked, [=]() { colorDialog(GUI::mw_toolBarColor, "Choose tool bar color"); }); connect(ui->pb_tool_icon_color, &QAbstractButton::clicked, [=]() { colorDialog(GUI::mw_toolIconColor, "Choose tool icon color"); }); diff --git a/rpcs3/rpcs3qt/settings_dialog.ui b/rpcs3/rpcs3qt/settings_dialog.ui index 4b974f7100..6a1b0be4a6 100644 --- a/rpcs3/rpcs3qt/settings_dialog.ui +++ b/rpcs3/rpcs3qt/settings_dialog.ui @@ -36,7 +36,7 @@ - 0 + 6 @@ -1174,12 +1174,19 @@ - + Gamelist icons + + + + Gamelist tool icons + + +