From 42f56e357c0733cff4f45bd21baff157b82da60f Mon Sep 17 00:00:00 2001 From: Megamouse Date: Thu, 18 Jan 2018 15:59:39 +0100 Subject: [PATCH] Qt: remove obsolete and faulty m_icon_color. RepaintGui does it already also remove some unused headers --- rpcs3/rpcs3qt/game_list_frame.cpp | 8 +------- rpcs3/rpcs3qt/game_list_frame.h | 1 - 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/rpcs3/rpcs3qt/game_list_frame.cpp b/rpcs3/rpcs3qt/game_list_frame.cpp index b29b670e41..ca7fcd0c5f 100644 --- a/rpcs3/rpcs3qt/game_list_frame.cpp +++ b/rpcs3/rpcs3qt/game_list_frame.cpp @@ -15,14 +15,9 @@ #include #include -#include #include -#include #include #include -#include -#include -#include #include inline std::string sstr(const QString& _in) { return _in.toStdString(); } @@ -338,8 +333,6 @@ void game_list_frame::LoadSettings() m_sortColumn = xgui_settings->GetValue(gui::gl_sortCol).toInt(); - m_Icon_Color = xgui_settings->GetValue(gui::gl_iconColor).value(); - m_categoryFilters = xgui_settings->GetGameListCategoryFilters(); Refresh(true); @@ -943,6 +936,7 @@ void game_list_frame::SetToolBarVisible(const bool& showToolBar) m_Tool_Bar->setVisible(showToolBar); xgui_settings->SetValue(gui::gl_toolBarVisible, showToolBar); } + bool game_list_frame::GetToolBarVisible() { return m_showToolBar; diff --git a/rpcs3/rpcs3qt/game_list_frame.h b/rpcs3/rpcs3qt/game_list_frame.h index dcf0a02ac5..f3b28d9586 100644 --- a/rpcs3/rpcs3qt/game_list_frame.h +++ b/rpcs3/rpcs3qt/game_list_frame.h @@ -13,7 +13,6 @@ #include #include #include -#include #include