forked from qt-creator/qt-creator
ImageViewer: Replace own play/pause icons with those from core
Change-Id: If12eec9940bed026a65196801d064f59c228b4bc Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
This commit is contained in:
Binary file not shown.
Before Width: | Height: | Size: 399 B |
Binary file not shown.
Before Width: | Height: | Size: 630 B |
@@ -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>
|
||||
|
Reference in New Issue
Block a user