From c30e61904d24444c5b773240b3068d8957f0062f Mon Sep 17 00:00:00 2001 From: Yez Ezey Date: Tue, 27 Sep 2016 05:09:38 +0900 Subject: [PATCH] Fix Mac OS X Build (Closes #5763) Deleted offending code setUnifiedTitleAndToolBarOnMac(false); which was a workaround to avoid bug https://bugreports.qt.io/browse/QTBUG-7305 The bug was fixed at Qt 4.6.2 https://github.com/Blizzard/qt4/blob/master/dist/changes-4.6.2 --- src/gui/mainwindow.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/gui/mainwindow.cpp b/src/gui/mainwindow.cpp index 9cdfe5554..e881e02ce 100644 --- a/src/gui/mainwindow.cpp +++ b/src/gui/mainwindow.cpp @@ -397,10 +397,6 @@ MainWindow::MainWindow(QWidget *parent) MainWindow::~MainWindow() { -#ifdef Q_OS_MAC - // Workaround to avoid bug http://bugreports.qt.nokia.com/browse/QTBUG-7305 - setUnifiedTitleAndToolBarOnMac(false); -#endif delete m_ui; }