remove border from GameList

This commit is contained in:
Bartosz Kaszubowski 2018-11-30 23:35:08 +01:00 committed by fearlessTobi
parent edbdbf0ba1
commit 7aeb4e29c2

View File

@ -287,6 +287,7 @@ GameList::GameList(GMainWindow* parent) : QWidget{parent} {
tree_view->setEditTriggers(QHeaderView::NoEditTriggers);
tree_view->setUniformRowHeights(true);
tree_view->setContextMenuPolicy(Qt::CustomContextMenu);
tree_view->setStyleSheet("QTreeView{ border: none; }");
item_model->insertColumns(0, COLUMN_COUNT);
item_model->setHeaderData(COLUMN_NAME, Qt::Horizontal, tr("Name"));