From cbc45c772f5b5bad730843fab7fc16c28be45d11 Mon Sep 17 00:00:00 2001 From: Peter Gunnarsson Date: Mon, 8 Aug 2011 12:46:26 +0200 Subject: [PATCH] Do not use QTabBar::setDocumentMode() on OS X. --- ground/openpilotgcs/src/plugins/coreplugin/mainwindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ground/openpilotgcs/src/plugins/coreplugin/mainwindow.cpp b/ground/openpilotgcs/src/plugins/coreplugin/mainwindow.cpp index 7e69498cb..a2b8137f4 100644 --- a/ground/openpilotgcs/src/plugins/coreplugin/mainwindow.cpp +++ b/ground/openpilotgcs/src/plugins/coreplugin/mainwindow.cpp @@ -179,7 +179,9 @@ MainWindow::MainWindow() : m_modeStack->setIconSize(QSize(24,24)); m_modeStack->setTabPosition(QTabWidget::South); m_modeStack->setMovable(false); +#ifndef Q_WS_MAC m_modeStack->setDocumentMode(true); +#endif m_modeManager = new ModeManager(this, m_modeStack); m_connectionManager = new ConnectionManager(this, m_modeStack);