Permalink
Browse files

Merge pull request #6957 from spycrab/qt_bold_header

Qt/GameList: Fix bold header when selecting a game
  • Loading branch information...
spycrab committed May 24, 2018
2 parents a60bba3 + a0b2cdb commit a68b8202e11b65cf7aee4345c859b6036144a213
Showing with 3 additions and 2 deletions.
  1. +3 −2 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()

0 comments on commit a68b820

Please sign in to comment.