Qt: disable resizing trophy tables to contents by default

This commit is contained in:
Megamouse 2018-05-22 11:39:15 +02:00 committed by Ani
parent 325048a134
commit f1670a9ea0
2 changed files with 7 additions and 7 deletions

View file

@ -182,7 +182,7 @@ void game_list_frame::LoadSettings()
QByteArray state = xgui_settings->GetValue(gui::gl_state).toByteArray();
if (!m_gameList->horizontalHeader()->restoreState(state) && m_gameList->rowCount())
{
// If no settings exist, go to default.
// If no settings exist, resize to contents.
m_gameList->verticalHeader()->resizeSections(QHeaderView::ResizeMode::ResizeToContents);
m_gameList->horizontalHeader()->resizeSections(QHeaderView::ResizeMode::ResizeToContents);
}