mirror of
https://invent.kde.org/system/dolphin
synced 2024-08-22 01:40:02 +00:00
Remove frame and margin around tree view sidebar.
svn path=/trunk/KDE/kdebase/apps/; revision=642531
This commit is contained in:
parent
cd4b064fb2
commit
ffcd3ed514
|
@ -36,6 +36,7 @@ SidebarTreeView::SidebarTreeView(DolphinMainWindow* mainWindow,
|
|||
setSelectionMode(QAbstractItemView::SingleSelection);
|
||||
setEditTriggers(QAbstractItemView::NoEditTriggers);
|
||||
setSortingEnabled(true);
|
||||
setFrameStyle(QFrame::NoFrame);
|
||||
|
||||
viewport()->setAttribute(Qt::WA_Hover);
|
||||
|
||||
|
|
|
@ -82,6 +82,7 @@ TreeViewSidebarPage::TreeViewSidebarPage(DolphinMainWindow* mainWindow,
|
|||
this, SLOT(dropUrls(const KUrl::List&, const QModelIndex&)));
|
||||
|
||||
QVBoxLayout* layout = new QVBoxLayout(this);
|
||||
layout->setMargin(0);
|
||||
layout->addWidget(m_treeView);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue