From 5d3ba06e9d303802e27eff8ab0096022b18a08f5 Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Sun, 12 Jul 2015 16:52:18 +0800 Subject: [PATCH] Use thin border for transfer list --- src/gui/mainwindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/mainwindow.cpp b/src/gui/mainwindow.cpp index f1876d8d2..86494fbfb 100644 --- a/src/gui/mainwindow.cpp +++ b/src/gui/mainwindow.cpp @@ -179,7 +179,7 @@ MainWindow::MainWindow(QWidget *parent) hSplitter = new QSplitter(Qt::Vertical, this); hSplitter->setChildrenCollapsible(false); - hSplitter->setContentsMargins(0, 4, 0, 0); + hSplitter->setFrameShape(QFrame::NoFrame); // Name filter search_filter = new LineEdit(this); @@ -193,6 +193,7 @@ MainWindow::MainWindow(QWidget *parent) // Transfer List tab transferList = new TransferListWidget(hSplitter, this); + //transferList->setStyleSheet("QTreeView {border: none;}"); // borderless properties = new PropertiesWidget(hSplitter, this, transferList); transferListFilters = new TransferListFiltersWidget(vSplitter, transferList); hSplitter->addWidget(transferList);