diff --git a/src/plugins/coreplugin/core.qrc b/src/plugins/coreplugin/core.qrc index 171fa48839e..6d8c5faa584 100644 --- a/src/plugins/coreplugin/core.qrc +++ b/src/plugins/coreplugin/core.qrc @@ -115,5 +115,7 @@ images/eye_closed@2x.png images/eye_open.png images/eye_open@2x.png + images/desktopdevicesmall.png + images/desktopdevicesmall@2x.png diff --git a/src/plugins/projectexplorer/images/desktopdevicesmall.png b/src/plugins/coreplugin/images/desktopdevicesmall.png similarity index 100% rename from src/plugins/projectexplorer/images/desktopdevicesmall.png rename to src/plugins/coreplugin/images/desktopdevicesmall.png diff --git a/src/plugins/projectexplorer/images/desktopdevicesmall@2x.png b/src/plugins/coreplugin/images/desktopdevicesmall@2x.png similarity index 100% rename from src/plugins/projectexplorer/images/desktopdevicesmall@2x.png rename to src/plugins/coreplugin/images/desktopdevicesmall@2x.png diff --git a/src/plugins/imageviewer/images/background.png b/src/plugins/imageviewer/images/background.png deleted file mode 100644 index 93a092ab13d..00000000000 Binary files a/src/plugins/imageviewer/images/background.png and /dev/null differ diff --git a/src/plugins/imageviewer/imageviewer.cpp b/src/plugins/imageviewer/imageviewer.cpp index ed47e06c438..4122794176d 100644 --- a/src/plugins/imageviewer/imageviewer.cpp +++ b/src/plugins/imageviewer/imageviewer.cpp @@ -102,6 +102,9 @@ void ImageViewer::ctor() d->ui_toolbar.setupUi(d->toolbar); d->ui_toolbar.toolButtonExportImage->setIcon(QIcon::fromTheme(QLatin1String("document-save"), Core::Icons::SAVEFILE.icon())); + const Utils::Icon backgroundIcon({ + {QLatin1String(":/core/images/desktopdevicesmall.png"), Utils::Theme::IconsBaseColor}}); + d->ui_toolbar.toolButtonBackground->setIcon(backgroundIcon.icon()); d->ui_toolbar.toolButtonOutline->setIcon(Core::Icons::BOUNDING_RECT.icon()); d->ui_toolbar.toolButtonZoomIn->setIcon(Core::Icons::PLUS.icon()); d->ui_toolbar.toolButtonZoomOut->setIcon(Core::Icons::MINUS.icon()); diff --git a/src/plugins/imageviewer/imageviewer.qrc b/src/plugins/imageviewer/imageviewer.qrc index 23266219fd5..c62bf29a21e 100644 --- a/src/plugins/imageviewer/imageviewer.qrc +++ b/src/plugins/imageviewer/imageviewer.qrc @@ -1,6 +1,5 @@ - images/background.png ImageViewer.mimetypes.xml diff --git a/src/plugins/imageviewer/imageviewertoolbar.ui b/src/plugins/imageviewer/imageviewertoolbar.ui index 0ca8fe689ab..0a230946d3c 100644 --- a/src/plugins/imageviewer/imageviewertoolbar.ui +++ b/src/plugins/imageviewer/imageviewertoolbar.ui @@ -29,10 +29,6 @@ Show Background - - - :/imageviewer/images/background.png:/imageviewer/images/background.png - true diff --git a/src/plugins/projectexplorer/projectexplorer.qrc b/src/plugins/projectexplorer/projectexplorer.qrc index 6d9310c46fc..15513cd5645 100644 --- a/src/plugins/projectexplorer/projectexplorer.qrc +++ b/src/plugins/projectexplorer/projectexplorer.qrc @@ -69,7 +69,5 @@ images/targetchangebutton2@2x.png images/desktopdevice.png images/desktopdevice@2x.png - images/desktopdevicesmall.png - images/desktopdevicesmall@2x.png diff --git a/src/plugins/projectexplorer/projectexplorericons.h b/src/plugins/projectexplorer/projectexplorericons.h index 384be59100f..55c8baffb67 100644 --- a/src/plugins/projectexplorer/projectexplorericons.h +++ b/src/plugins/projectexplorer/projectexplorericons.h @@ -70,7 +70,7 @@ const Utils::Icon BUILDSTEP_REMOVE({ const Utils::Icon DESKTOP_DEVICE({ {QLatin1String(":/projectexplorer/images/desktopdevice.png"), Utils::Theme::IconsBaseColor}}); const Utils::Icon DESKTOP_DEVICE_SMALL({ - {QLatin1String(":/projectexplorer/images/desktopdevicesmall.png"), Utils::Theme::PanelTextColorDark}}, Utils::Icon::Tint); + {QLatin1String(":/core/images/desktopdevicesmall.png"), Utils::Theme::PanelTextColorDark}}, Utils::Icon::Tint); const Utils::Icon MODE_PROJECT_CLASSIC( QLatin1String(":/projectexplorer/images/mode_project.png")); diff --git a/src/tools/icons/qtcreatoricons.svg b/src/tools/icons/qtcreatoricons.svg index e0059d54ee3..e6e92070754 100644 --- a/src/tools/icons/qtcreatoricons.svg +++ b/src/tools/icons/qtcreatoricons.svg @@ -5025,7 +5025,7 @@ x="0" y="0" xlink:href="#src/plugins/projectexplorer/images/desktopdevice" - id="src/plugins/projectexplorer/images/desktopdevicesmall" + id="src/plugins/coreplugin/images/desktopdevicesmall" transform="matrix(0.5,0,0,0.5,285,189.5)" width="100%" height="100%" />