Skip to content

Commit

Permalink
[Qt] Fix uninitialised values before usage
Browse files Browse the repository at this point in the history
  • Loading branch information
scribam authored and kd-11 committed Oct 28, 2017
1 parent 7abf755 commit dbb2251
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rpcs3/rpcs3qt/game_list_frame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ game_list_frame::game_list_frame(std::shared_ptr<gui_settings> guiSettings, std:
m_Text_Factor = xgui_settings->GetValue(GUI::gl_textFactor).toReal();
m_showToolBar = xgui_settings->GetValue(GUI::gl_toolBarVisible).toBool();
m_Icon_Color = xgui_settings->GetValue(GUI::gl_iconColor).value<QColor>();
m_colSortOrder = xgui_settings->GetValue(GUI::gl_sortAsc).toBool() ? Qt::AscendingOrder : Qt::DescendingOrder;
m_sortColumn = xgui_settings->GetValue(GUI::gl_sortCol).toInt();

m_oldLayoutIsList = m_isListLayout;

Expand Down

0 comments on commit dbb2251

Please sign in to comment.