author | simon <simon> | 2002-12-15 11:20:13 (UTC) |
---|---|---|
committer | simon <simon> | 2002-12-15 11:20:13 (UTC) |
commit | fadbd5b396636f7e235c2ca4e74d01129d800c21 (patch) (unidiff) | |
tree | c3fba46f0dc00bdbbd19175539f332b951800832 | |
parent | 3fb7da21aa421afdbdbfd6e02a457d7d55236ef7 (diff) | |
download | opie-fadbd5b396636f7e235c2ca4e74d01129d800c21.zip opie-fadbd5b396636f7e235c2ca4e74d01129d800c21.tar.gz opie-fadbd5b396636f7e235c2ca4e74d01129d800c21.tar.bz2 |
- don't append .png to the button mask filenames
-rw-r--r-- | noncore/multimedia/opieplayer2/skin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/multimedia/opieplayer2/skin.cpp b/noncore/multimedia/opieplayer2/skin.cpp index 44f5ca2..742e495 100644 --- a/noncore/multimedia/opieplayer2/skin.cpp +++ b/noncore/multimedia/opieplayer2/skin.cpp | |||
@@ -145,9 +145,9 @@ QImage Skin::buttonMaskImage( const QString &fileName ) const | |||
145 | { | 145 | { |
146 | SkinData::ButtonMaskImageMap::Iterator it = d->buttonMasks.find( fileName ); | 146 | SkinData::ButtonMaskImageMap::Iterator it = d->buttonMasks.find( fileName ); |
147 | if ( it == d->buttonMasks.end() ) { | 147 | if ( it == d->buttonMasks.end() ) { |
148 | QString prefix = m_skinPath + QString::fromLatin1( "/skin%1_mask_" ).arg( m_fileNameInfix ); | 148 | QString prefix = m_skinPath + QString::fromLatin1( "/skin%1_mask_" ).arg( m_fileNameInfix ); |
149 | QString path = prefix + fileName + ".png"; | 149 | QString path = prefix + fileName; |
150 | it = d->buttonMasks.insert( fileName, loadImage( path ) ); | 150 | it = d->buttonMasks.insert( fileName, loadImage( path ) ); |
151 | } | 151 | } |
152 | return *it; | 152 | return *it; |
153 | } | 153 | } |