Fix ugly blue focus thing on OSX.

This commit is contained in:
Petr Mrázek 2013-08-27 16:20:32 +02:00
parent 81259ce05e
commit fd4026c60a

View File

@ -111,6 +111,8 @@ MainWindow::MainWindow ( QWidget *parent ) :
view->setItemDelegate(delegate); view->setItemDelegate(delegate);
view->setSpacing(10); view->setSpacing(10);
view->setUniformItemWidths(true); view->setUniformItemWidths(true);
view->setAttribute(Qt::WA_MacShowFocusRect, false);
view->installEventFilter(this); view->installEventFilter(this);
proxymodel = new InstanceProxyModel ( this ); proxymodel = new InstanceProxyModel ( this );