Browse Source

Use thin border for transfer list

adaptive-webui-19844
Chocobo1 10 years ago
parent
commit
5d3ba06e9d
  1. 3
      src/gui/mainwindow.cpp

3
src/gui/mainwindow.cpp

@ -179,7 +179,7 @@ MainWindow::MainWindow(QWidget *parent)
hSplitter = new QSplitter(Qt::Vertical, this); hSplitter = new QSplitter(Qt::Vertical, this);
hSplitter->setChildrenCollapsible(false); hSplitter->setChildrenCollapsible(false);
hSplitter->setContentsMargins(0, 4, 0, 0); hSplitter->setFrameShape(QFrame::NoFrame);
// Name filter // Name filter
search_filter = new LineEdit(this); search_filter = new LineEdit(this);
@ -193,6 +193,7 @@ MainWindow::MainWindow(QWidget *parent)
// Transfer List tab // Transfer List tab
transferList = new TransferListWidget(hSplitter, this); transferList = new TransferListWidget(hSplitter, this);
//transferList->setStyleSheet("QTreeView {border: none;}"); // borderless
properties = new PropertiesWidget(hSplitter, this, transferList); properties = new PropertiesWidget(hSplitter, this, transferList);
transferListFilters = new TransferListFiltersWidget(vSplitter, transferList); transferListFilters = new TransferListFiltersWidget(vSplitter, transferList);
hSplitter->addWidget(transferList); hSplitter->addWidget(transferList);

Loading…
Cancel
Save