summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/skin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/multimedia/opieplayer2/skin.cpp b/noncore/multimedia/opieplayer2/skin.cpp
index b95c544..bd176e3 100644
--- a/noncore/multimedia/opieplayer2/skin.cpp
+++ b/noncore/multimedia/opieplayer2/skin.cpp
@@ -161,17 +161,17 @@ QString Skin::defaultSkinName()
161{ 161{
162 Config cfg( "OpiePlayer" ); 162 Config cfg( "OpiePlayer" );
163 cfg.setGroup( "Options" ); 163 cfg.setGroup( "Options" );
164 return cfg.readEntry( "Skin", "default" ); 164 return cfg.readEntry( "Skin", "default" );
165} 165}
166 166
167QImage Skin::loadImage( const QString &fileName ) 167QImage Skin::loadImage( const QString &fileName )
168{ 168{
169 return QImage( OResource::findPixmap( fileName ) ); 169 return QImage( Opie::Core::OResource::findPixmap( fileName ) );
170} 170}
171 171
172SkinCache::SkinCache() 172SkinCache::SkinCache()
173{ 173{
174 // let's say we cache two skins (audio+video) at maximum 174 // let's say we cache two skins (audio+video) at maximum
175 m_cache.setMaxCost( 2 ); 175 m_cache.setMaxCost( 2 );
176 // ... and one background pixmap 176 // ... and one background pixmap
177 m_backgroundPixmapCache.setMaxCost( 1 ); 177 m_backgroundPixmapCache.setMaxCost( 1 );