mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-25 22:14:32 +00:00
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
This commit is contained in:
parent
bec4617128
commit
c30e61904d
@ -397,10 +397,6 @@ MainWindow::MainWindow(QWidget *parent)
|
|||||||
|
|
||||||
MainWindow::~MainWindow()
|
MainWindow::~MainWindow()
|
||||||
{
|
{
|
||||||
#ifdef Q_OS_MAC
|
|
||||||
// Workaround to avoid bug http://bugreports.qt.nokia.com/browse/QTBUG-7305
|
|
||||||
setUnifiedTitleAndToolBarOnMac(false);
|
|
||||||
#endif
|
|
||||||
delete m_ui;
|
delete m_ui;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user