Fix a case of SP_MediaSkipForward returning the wrong pixmap.

This fixes QTBUG-18311.

Merge-request: 2621
Reviewed-by: Joao
(cherry picked from commit a9364af090fd3209b92ed5e07a1374488d22b1c4)

Change-Id: I0a0fc99060c64a9aab395a183f2faf9223e9a925
Reviewed-on: http://codereview.qt.nokia.com/449
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Peter Hartmann <peter.hartmann@nokia.com>
This commit is contained in:
Andy Shaw 2011-06-10 11:22:00 +02:00 committed by Qt Continuous Integration System
parent 11bbfb5882
commit c1ed7951ac

View File

@ -5292,7 +5292,7 @@ QPixmap QCommonStyle::standardPixmap(StandardPixmap sp, const QStyleOption *opti
pixmap = QIcon::fromTheme(QLatin1String("media-seek-backward")).pixmap(16); pixmap = QIcon::fromTheme(QLatin1String("media-seek-backward")).pixmap(16);
break; break;
case SP_MediaSkipForward: case SP_MediaSkipForward:
pixmap = QIcon::fromTheme(QLatin1String("media-skip-backward")).pixmap(16); pixmap = QIcon::fromTheme(QLatin1String("media-skip-forward")).pixmap(16);
break; break;
case SP_MediaSkipBackward: case SP_MediaSkipBackward:
pixmap = QIcon::fromTheme(QLatin1String("media-skip-backward")).pixmap(16); pixmap = QIcon::fromTheme(QLatin1String("media-skip-backward")).pixmap(16);