From fd4026c60af6b8ac4010bf7626167e58db6a1b4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Tue, 27 Aug 2013 16:20:32 +0200 Subject: [PATCH] Fix ugly blue focus thing on OSX. --- gui/mainwindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gui/mainwindow.cpp b/gui/mainwindow.cpp index 8b06d698..48e3aceb 100644 --- a/gui/mainwindow.cpp +++ b/gui/mainwindow.cpp @@ -111,6 +111,8 @@ MainWindow::MainWindow ( QWidget *parent ) : view->setItemDelegate(delegate); view->setSpacing(10); view->setUniformItemWidths(true); + view->setAttribute(Qt::WA_MacShowFocusRect, false); + view->installEventFilter(this); proxymodel = new InstanceProxyModel ( this );