forked from qt-creator/qt-creator
ProjectExplorer: Remove old "clean" icon. Re-use the new one.
Change-Id: Ieee022d8cdcd55215bf7468d331320a24d421cbd Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
This commit is contained in:
Binary file not shown.
Before Width: | Height: | Size: 1.2 KiB |
Binary file not shown.
Before Width: | Height: | Size: 785 B |
@@ -853,9 +853,7 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er
|
||||
msessionContextMenu->addAction(cmd, Constants::G_SESSION_REBUILD);
|
||||
|
||||
// clean session
|
||||
QIcon cleanIcon = Icons::CLEAN.icon();
|
||||
cleanIcon.addPixmap(Icons::CLEAN_SMALL.pixmap());
|
||||
dd->m_cleanSessionAction = new QAction(cleanIcon, tr("Clean All"), this);
|
||||
dd->m_cleanSessionAction = new QAction(Icons::CLEAN.icon(), tr("Clean All"), this);
|
||||
cmd = ActionManager::registerAction(dd->m_cleanSessionAction, Constants::CLEANSESSION);
|
||||
mbuild->addAction(cmd, Constants::G_BUILD_CLEAN);
|
||||
msessionContextMenu->addAction(cmd, Constants::G_SESSION_REBUILD);
|
||||
|
@@ -2,8 +2,6 @@
|
||||
<qresource prefix="/projectexplorer">
|
||||
<file>images/build_small.png</file>
|
||||
<file>images/category_buildrun.png</file>
|
||||
<file>images/clean.png</file>
|
||||
<file>images/clean_small.png</file>
|
||||
<file>images/closetab.png</file>
|
||||
<file>images/debugger_start.png</file>
|
||||
<file>images/debugger_start@2x.png</file>
|
||||
|
@@ -37,10 +37,8 @@ const Utils::Icon BUILD_FLAT({
|
||||
{QLatin1String(":/projectexplorer/images/build_hammerhead_mask.png"), Utils::Theme::IconsBuildHammerHeadColor}});
|
||||
const Utils::Icon BUILD_SMALL(
|
||||
QLatin1String(":/projectexplorer/images/build_small.png"));
|
||||
const Utils::Icon CLEAN(
|
||||
QLatin1String(":/projectexplorer/images/clean.png"));
|
||||
const Utils::Icon CLEAN_SMALL(
|
||||
QLatin1String(":/projectexplorer/images/clean_small.png"));
|
||||
const Utils::Icon CLEAN({
|
||||
{QLatin1String(":/core/images/clean_pane_small.png"), Utils::Theme::PanelTextColorMid}}, Utils::Icon::Tint);
|
||||
const Utils::Icon REBUILD({
|
||||
{QLatin1String(":/projectexplorer/images/rebuildhammerhandles.png"), Utils::Theme::IconsBuildHammerHandleColor},
|
||||
{QLatin1String(":/projectexplorer/images/rebuildhammerheads.png"), Utils::Theme::IconsBuildHammerHeadColor}}, Utils::Icon::Tint);
|
||||
|
Reference in New Issue
Block a user