Commit e7e5c1bb authored by Alessandro Portale's avatar Alessandro Portale
Browse files

ProjectExplorer: Use a better "Run" icon for the menu



Change-Id: I9a975b7c99d7a5535609e966c0ebf49a51484cfc
Reviewed-by: default avatarAlessandro Portale <alessandro.portale@theqtcompany.com>
parent 97cd0940
......@@ -683,8 +683,8 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er
ActionContainer *runMenu = ActionManager::createMenu(Constants::RUNMENUCONTEXTMENU);
runMenu->setOnAllDisabledBehavior(ActionContainer::Hide);
QIcon runIcon = Utils::Icon::sideBarIcon(Icons::RUN, Icons::RUN_FLAT);
runIcon.addPixmap(Core::Icons::RUN_SMALL_TOOLBAR.pixmap());
const QIcon runSideBarIcon = Utils::Icon::sideBarIcon(Icons::RUN, Icons::RUN_FLAT);
const QIcon runIcon = Utils::Icon::combinedIcon({Core::Icons::RUN_SMALL.icon(), runSideBarIcon});
runMenu->menu()->setIcon(runIcon);
runMenu->menu()->setTitle(tr("Run"));
msubProjectContextMenu->addMenu(runMenu, ProjectExplorer::Constants::G_PROJECT_RUN);
......
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