author | simon <simon> | 2002-12-11 12:10:41 (UTC) |
---|---|---|
committer | simon <simon> | 2002-12-11 12:10:41 (UTC) |
commit | 381de1a3cfcc32dd7c0350329413f55dd9de9bb8 (patch) (unidiff) | |
tree | a60ebc3af59e5d7c55c773a10652d86a709dafea /noncore/multimedia/opieplayer2/mediawidget.cpp | |
parent | 882ddb046c81bdee5eeca59fde7ec458ae522dc7 (diff) | |
download | opie-381de1a3cfcc32dd7c0350329413f55dd9de9bb8.zip opie-381de1a3cfcc32dd7c0350329413f55dd9de9bb8.tar.gz opie-381de1a3cfcc32dd7c0350329413f55dd9de9bb8.tar.bz2 |
- more image loading functionality moved to the Skin class
Diffstat (limited to 'noncore/multimedia/opieplayer2/mediawidget.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/mediawidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/multimedia/opieplayer2/mediawidget.cpp b/noncore/multimedia/opieplayer2/mediawidget.cpp index 617e0fe..2031b4d 100644 --- a/noncore/multimedia/opieplayer2/mediawidget.cpp +++ b/noncore/multimedia/opieplayer2/mediawidget.cpp | |||
@@ -105,8 +105,8 @@ void MediaWidget::loadSkin( const SkinButtonInfo *skinInfo, uint buttonCount, co | |||
105 | 105 | ||
106 | QString skinPath = "opieplayer2/skins/" + name; | 106 | QString skinPath = "opieplayer2/skins/" + name; |
107 | backgroundPixmap = skin.backgroundImage(); | 107 | backgroundPixmap = skin.backgroundImage(); |
108 | buttonUpImage = QImage( Resource::loadImage( QString( "%1/skin%2_up" ).arg( skinPath ).arg( fileNameInfix ) ) ); | 108 | buttonUpImage = skin.buttonUpImage(); |
109 | buttonDownImage = QImage( Resource::loadImage( QString( "%1/skin%2_down" ).arg( skinPath ).arg( fileNameInfix ) ) ); | 109 | buttonDownImage = skin.buttonDownImage(); |
110 | 110 | ||
111 | setupButtons( skinInfo, buttonCount, | 111 | setupButtons( skinInfo, buttonCount, |
112 | skinPath + QString::fromLatin1( "/skin%1_mask_" ).arg( fileNameInfix ), buttonUpImage.size() ); | 112 | skinPath + QString::fromLatin1( "/skin%1_mask_" ).arg( fileNameInfix ), buttonUpImage.size() ); |