Commit 5d3483ce authored by Urs Fleisch's avatar Urs Fleisch
Browse files

Workaround for disabled "Select All" menu QTBUG on Mac OS X.

parent e58e9fa9
......@@ -288,6 +288,10 @@ void Kid3MainWindow::initActions()
editSelectAll->setText(tr("Select &All"));
editSelectAll->setShortcut(Qt::ALT + Qt::Key_A);
editSelectAll->setIcon(QCM_QIcon_fromTheme("edit-select-all"));
#if defined Q_OS_MAC && QT_VERSION == 0x050400
// Workaround for QTBUG-43471 from QTBUG-39934
editSelectAll->setMenuRole(QAction::NoRole);
#endif
editSelectAll->setObjectName(QLatin1String("edit_select_all"));
m_shortcutsModel->registerAction(editSelectAll, menuTitle);
connect(editSelectAll, SIGNAL(triggered()),
......
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