Qt: remove obsolete and faulty m_icon_color. RepaintGui does it already

also remove some unused headers
This commit is contained in:
Megamouse 2018-01-18 15:59:39 +01:00 committed by kd-11
parent fbac1c304a
commit 42f56e357c
2 changed files with 1 additions and 8 deletions

View File

@ -15,14 +15,9 @@
#include <set>
#include <QDesktopServices>
#include <QDir>
#include <QHeaderView>
#include <QListView>
#include <QMenuBar>
#include <QMessageBox>
#include <QTimer>
#include <QUrl>
#include <QLabel>
#include <QScrollBar>
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<QColor>();
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;

View File

@ -13,7 +13,6 @@
#include <QToolBar>
#include <QLineEdit>
#include <QStackedWidget>
#include <QDropEvent>
#include <memory>