diff options
| author | Starsam80 <samraskauskas@gmail.com> | 2017-07-02 16:59:18 -0600 |
|---|---|---|
| committer | Starsam80 <samraskauskas@gmail.com> | 2017-07-02 17:25:46 -0600 |
| commit | 4d56951d3b3f8b092dfabd04ca2373d41af078ee (patch) | |
| tree | 3d73aed2b08715e51082489880443a08521049b4 /Source/Core | |
| parent | 0f9ae6d361541a5917ae3b05dc7c667cdef81336 (diff) | |
Qt: Remove border from game list
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/DolphinQt2/GameList/GameList.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt2/GameList/GameList.cpp b/Source/Core/DolphinQt2/GameList/GameList.cpp index b961fde176..8b67f78eac 100644 --- a/Source/Core/DolphinQt2/GameList/GameList.cpp +++ b/Source/Core/DolphinQt2/GameList/GameList.cpp @@ -7,6 +7,7 @@ #include <QErrorMessage> #include <QFileDialog> #include <QFileInfo> +#include <QFrame> #include <QHeaderView> #include <QKeyEvent> #include <QMap> @@ -94,6 +95,7 @@ void GameList::MakeTableView() hor_header->setSectionResizeMode(GameListModel::COL_RATING, QHeaderView::ResizeToContents); m_table->verticalHeader()->hide(); + m_table->setFrameStyle(QFrame::NoFrame); } void GameList::MakeEmptyView() @@ -121,6 +123,7 @@ void GameList::MakeListView() m_list->setResizeMode(QListView::Adjust); m_list->setUniformItemSizes(true); m_list->setContextMenuPolicy(Qt::CustomContextMenu); + m_list->setFrameStyle(QFrame::NoFrame); connect(m_list, &QTableView::customContextMenuRequested, this, &GameList::ShowContextMenu); } |
