Skip to content

Commit

Permalink
Merge pull request #5806 from Starsam80/qt-movable-headers
Browse files Browse the repository at this point in the history
Qt: Allow the game list headers to be rearranged
  • Loading branch information
leoetlino committed Jul 23, 2017
2 parents 68e00b3 + d9a09cf commit a7c3d03
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/Core/DolphinQt2/GameList/GameList.cpp
Expand Up @@ -91,7 +91,9 @@ void GameList::MakeTableView()
connect(hor_header, &QHeaderView::sortIndicatorChanged, this, &GameList::OnHeaderViewChanged);
connect(hor_header, &QHeaderView::sectionResized, this, &GameList::OnHeaderViewChanged);
connect(hor_header, &QHeaderView::sectionCountChanged, this, &GameList::OnHeaderViewChanged);
connect(hor_header, &QHeaderView::sectionMoved, this, &GameList::OnHeaderViewChanged);

hor_header->setSectionsMovable(true);
hor_header->restoreState(QSettings().value(QStringLiteral("tableheader/state")).toByteArray());

hor_header->setSectionResizeMode(GameListModel::COL_PLATFORM, QHeaderView::ResizeToContents);
Expand Down

0 comments on commit a7c3d03

Please sign in to comment.