From 067692cd1e176a7ac38d19881d223fccd4f8818d Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Fri, 7 Jun 2019 17:21:57 +0100 Subject: [PATCH] Disable automatically enabled toolbar on Mac Qt automatically adds a "Menu->View->Show Tab Bar" button, this change disables that as we don't have a tool bar or tab bar. --- widgets/mainwindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/widgets/mainwindow.cpp b/widgets/mainwindow.cpp index 2d3964efa..0d6d63e74 100644 --- a/widgets/mainwindow.cpp +++ b/widgets/mainwindow.cpp @@ -413,6 +413,7 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple, m_manual {&m_network_manager} { ui->setupUi(this); + setUnifiedTitleAndToolBarOnMac (true); createStatusBar(); add_child_to_event_filter (this); ui->dxGridEntry->setValidator (new MaidenheadLocatorValidator {this});