Fix ugly blue focus thing on OSX.
This commit is contained in:
parent
81259ce05e
commit
fd4026c60a
@ -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 );
|
||||||
|
Loading…
Reference in New Issue
Block a user