Commit 1ad9a44d authored by Alessandro Portale's avatar Alessandro Portale

ImageViewer: Replace own play/pause icons with those from core

Change-Id: If12eec9940bed026a65196801d064f59c228b4bc
Reviewed-by: default avatarAlessandro Portale <alessandro.portale@theqtcompany.com>
parent 9373f76b
......@@ -253,10 +253,10 @@ void ImageViewer::updatePauseAction()
if (isMovie) {
if (d->file->isPaused()) {
d->ui_toolbar.toolButtonPlayPause->setToolTipBase(tr("Play Animation"));
d->ui_toolbar.toolButtonPlayPause->setIcon(QPixmap(QLatin1String(":/imageviewer/images/play-small.png")));
d->ui_toolbar.toolButtonPlayPause->setIcon(Core::Icons::RUN_SMALL.pixmap());
} else {
d->ui_toolbar.toolButtonPlayPause->setToolTipBase(tr("Pause Animation"));
d->ui_toolbar.toolButtonPlayPause->setIcon(QPixmap(QLatin1String(":/imageviewer/images/pause-small.png")));
d->ui_toolbar.toolButtonPlayPause->setIcon(Core::Icons::INTERRUPT_SMALL.pixmap());
}
}
}
......
......@@ -3,8 +3,6 @@
<file>images/outline.png</file>
<file>images/originalsize.png</file>
<file>images/background.png</file>
<file>images/pause-small.png</file>
<file>images/play-small.png</file>
<file>ImageViewer.mimetypes.xml</file>
</qresource>
</RCC>
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