Commit b7c8d07a authored by Eike Ziller's avatar Eike Ziller

OSX: Get rid of File > Exit menu item

Seems to be a behavior change between Qt 5.2 and Qt 5.3. Now we need to
set the menu role explicitly, text heuristic fails.

Change-Id: I54ecfea5910db4863699bb077b8f8a6c88b56237
Reviewed-by: default avatarErik Verbruggen <>
Reviewed-by: default avatarFawzi Mohamed <>
parent 058507d3
......@@ -554,6 +554,7 @@ void MainWindow::registerDefaultActions()
m_exitAction = new QAction(icon, tr("E&xit"), this);
cmd = ActionManager::registerAction(m_exitAction, Constants::EXIT, globalContext);
mfile->addAction(cmd, Constants::G_FILE_OTHER);
connect(m_exitAction, SIGNAL(triggered()), this, SLOT(exit()));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment