diff options
author | Petr Mrázek <peterix@gmail.com> | 2013-08-27 16:50:42 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2013-08-27 16:50:42 +0200 |
commit | e17655243c92899c03514e189e6d74c7262b1b3f (patch) | |
tree | 259b080c85d278a465d87f79e0811c8008ca6914 /gui/mainwindow.cpp | |
parent | fd4026c60af6b8ac4010bf7626167e58db6a1b4d (diff) | |
download | MultiMC-e17655243c92899c03514e189e6d74c7262b1b3f.tar MultiMC-e17655243c92899c03514e189e6d74c7262b1b3f.tar.gz MultiMC-e17655243c92899c03514e189e6d74c7262b1b3f.tar.lz MultiMC-e17655243c92899c03514e189e6d74c7262b1b3f.tar.xz MultiMC-e17655243c92899c03514e189e6d74c7262b1b3f.zip |
More OSX magic!
Diffstat (limited to 'gui/mainwindow.cpp')
-rw-r--r-- | gui/mainwindow.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gui/mainwindow.cpp b/gui/mainwindow.cpp index 48e3aceb..cef5f278 100644 --- a/gui/mainwindow.cpp +++ b/gui/mainwindow.cpp @@ -81,6 +81,9 @@ MainWindow::MainWindow ( QWidget *parent ) : // Set active instance to null. m_activeInst = nullptr; + // OSX magic. + setUnifiedTitleAndToolBarOnMac(true); + // The instance action toolbar customizations { ui->instanceToolBar->setEnabled(false); @@ -111,6 +114,8 @@ MainWindow::MainWindow ( QWidget *parent ) : view->setItemDelegate(delegate); view->setSpacing(10); view->setUniformItemWidths(true); + + // do not show ugly blue border on the mac view->setAttribute(Qt::WA_MacShowFocusRect, false); view->installEventFilter(this); |