summaryrefslogtreecommitdiffstats
path: root/src/widget/wlibrarysidebar.cpp
diff options
context:
space:
mode:
authorLee Matos <find.creativity@leematos.com>2014-06-01 11:59:41 +0200
committerLee Matos <find.creativity@leematos.com>2014-06-01 11:59:41 +0200
commit81a14be98ef89ca19f265fd72364f05ed4ca23d8 (patch)
tree26b0ed16a5a2ec115931b9115e0298d32403ebaf /src/widget/wlibrarysidebar.cpp
parent223fba997570329ef6c0b7474d7364c0cf8dfca5 (diff)
remove blue highlight on library sidebar
Diffstat (limited to 'src/widget/wlibrarysidebar.cpp')
-rw-r--r--src/widget/wlibrarysidebar.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/widget/wlibrarysidebar.cpp b/src/widget/wlibrarysidebar.cpp
index 4ff6dcb025..d213ab8ffd 100644
--- a/src/widget/wlibrarysidebar.cpp
+++ b/src/widget/wlibrarysidebar.cpp
@@ -21,6 +21,7 @@ WLibrarySidebar::WLibrarySidebar(QWidget* parent)
setDropIndicatorShown(true);
setAcceptDrops(true);
setAutoScroll(true);
+ setAttribute(Qt::WA_MacShowFocusRect, false);
header()->setStretchLastSection(false);
header()->setResizeMode(QHeaderView::ResizeToContents);
header()->setHorizontalScrollMode(QAbstractItemView::ScrollPerPixel);