mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-15 11:18:36 +12:00
Qt: clean up gui_settings.h - move general functions to qt_utils.h
This commit is contained in:
parent
c10e195dba
commit
baea538c32
15 changed files with 187 additions and 175 deletions
|
@ -1,6 +1,6 @@
|
|||
#include "game_list_grid.h"
|
||||
#include "game_list_grid_delegate.h"
|
||||
#include "gui_settings.h"
|
||||
#include "qt_utils.h"
|
||||
|
||||
#include <QHeaderView>
|
||||
#include <QLabel>
|
||||
|
@ -20,8 +20,8 @@ game_list_grid::game_list_grid(const QSize& icon_size, const QColor& icon_color,
|
|||
}
|
||||
|
||||
// font by stylesheet
|
||||
QFont font = gui::get_Label_Font("gamegrid_font");
|
||||
QColor font_color = gui::get_Label_Color("gamegrid_font");
|
||||
QFont font = gui::utils::get_label_font("gamegrid_font");
|
||||
QColor font_color = gui::utils::get_label_color("gamegrid_font");
|
||||
|
||||
grid_item_delegate = new game_list_grid_delegate(item_size, m_margin_factor, m_text_factor, font, font_color, this);
|
||||
setItemDelegate(grid_item_delegate);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue