From d9a09cff1486378033992376d3bc8348aa5c8499 Mon Sep 17 00:00:00 2001 From: Starsam80 Date: Sat, 22 Jul 2017 00:38:09 -0600 Subject: [PATCH] Qt: Allow the game list headers to be rearranged --- Source/Core/DolphinQt2/GameList/GameList.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Core/DolphinQt2/GameList/GameList.cpp b/Source/Core/DolphinQt2/GameList/GameList.cpp index a72c4a8934..64d659f5cd 100644 --- a/Source/Core/DolphinQt2/GameList/GameList.cpp +++ b/Source/Core/DolphinQt2/GameList/GameList.cpp @@ -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);