From a0b2cdbffcb8550b1532cd1048a3632754a3a6e8 Mon Sep 17 00:00:00 2001 From: spycrab Date: Thu, 24 May 2018 13:48:14 +0200 Subject: [PATCH] Qt/GameList: Fix bold header when selecting a game --- Source/Core/DolphinQt2/GameList/GameList.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Source/Core/DolphinQt2/GameList/GameList.cpp b/Source/Core/DolphinQt2/GameList/GameList.cpp index 4f6de9feee..2f44c4a506 100644 --- a/Source/Core/DolphinQt2/GameList/GameList.cpp +++ b/Source/Core/DolphinQt2/GameList/GameList.cpp @@ -91,8 +91,6 @@ void GameList::MakeListView() connect(hor_header, &QHeaderView::sectionCountChanged, this, &GameList::OnHeaderViewChanged); connect(hor_header, &QHeaderView::sectionMoved, this, &GameList::OnHeaderViewChanged); - hor_header->setSectionsMovable(true); - if (!Settings::GetQSettings().contains(QStringLiteral("tableheader/state"))) m_list->sortByColumn(GameListModel::COL_TITLE, Qt::AscendingOrder); @@ -123,6 +121,9 @@ void GameList::MakeListView() m_list->verticalHeader()->hide(); m_list->setFrameStyle(QFrame::NoFrame); + + hor_header->setSectionsMovable(true); + hor_header->setHighlightSections(false); } void GameList::MakeEmptyView()