diff options
author | Petr Mrázek <peterix@gmail.com> | 2013-08-27 16:20:32 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2013-08-27 16:20:32 +0200 |
commit | fd4026c60af6b8ac4010bf7626167e58db6a1b4d (patch) | |
tree | 047076f776b4b3a8d33bef960fab0decfb47b32e /gui | |
parent | 81259ce05ea2efbdc4077977c26e5089df0d76bc (diff) | |
download | MultiMC-fd4026c60af6b8ac4010bf7626167e58db6a1b4d.tar MultiMC-fd4026c60af6b8ac4010bf7626167e58db6a1b4d.tar.gz MultiMC-fd4026c60af6b8ac4010bf7626167e58db6a1b4d.tar.lz MultiMC-fd4026c60af6b8ac4010bf7626167e58db6a1b4d.tar.xz MultiMC-fd4026c60af6b8ac4010bf7626167e58db6a1b4d.zip |
Fix ugly blue focus thing on OSX.
Diffstat (limited to 'gui')
-rw-r--r-- | gui/mainwindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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 ); |