Commit 814388d5 authored by Kevin Funk's avatar Kevin Funk

Minor: Add some more icons to the menu actions

parent eeaf888d
......@@ -239,6 +239,7 @@ void MainWindowPrivate::setupActions()
action->setWhatsThis( i18nc( "@info:whatsthis", "Shows a dialog that lets you configure notifications." ) );
action = actionCollection()->addAction( QStringLiteral("about_platform"), this, SLOT(showAboutPlatform()) );
action->setText( i18n("About KDevelop Platform") );
action->setMenuRole( QAction::NoRole ); // OSX: prevent QT from hiding this due to conflict with 'About KDevelop'
action->setStatusTip( i18n("Show Information about KDevelop Platform") );
......@@ -613,6 +613,7 @@ void ProjectController::setupActions()
QAction* openProjectForFileAction = new QAction( this );
ac->addAction(QStringLiteral("project_open_for_file"), openProjectForFileAction);
openProjectForFileAction->setText(i18n("Open Project for Current File"));
connect( openProjectForFileAction, &QAction::triggered, this, &ProjectController::openProjectForUrlSlot);
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