mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-22 04:11:16 -05:00
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.
This commit is contained in:
parent
b3d6f5d22e
commit
067692cd1e
@ -413,6 +413,7 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple,
|
|||||||
m_manual {&m_network_manager}
|
m_manual {&m_network_manager}
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
setUnifiedTitleAndToolBarOnMac (true);
|
||||||
createStatusBar();
|
createStatusBar();
|
||||||
add_child_to_event_filter (this);
|
add_child_to_event_filter (this);
|
||||||
ui->dxGridEntry->setValidator (new MaidenheadLocatorValidator {this});
|
ui->dxGridEntry->setValidator (new MaidenheadLocatorValidator {this});
|
||||||
|
Loading…
Reference in New Issue
Block a user