Use unified toolbar on OS X

This commit is contained in:
Janek Bevendorff 2017-03-01 22:32:14 +01:00
parent a31c423d9e
commit 52ab7b8865

View File

@ -281,6 +281,10 @@ MainWindow::MainWindow()
connect(m_ui->passwordGeneratorWidget, SIGNAL(dialogTerminated()), SLOT(closePasswordGen())); connect(m_ui->passwordGeneratorWidget, SIGNAL(dialogTerminated()), SLOT(closePasswordGen()));
connect(m_ui->actionAbout, SIGNAL(triggered()), SLOT(showAboutDialog())); connect(m_ui->actionAbout, SIGNAL(triggered()), SLOT(showAboutDialog()));
#ifdef Q_OS_MAC
setUnifiedTitleAndToolBarOnMac(true);
#endif
updateTrayIcon(); updateTrayIcon();
} }