author | simon <simon> | 2002-12-14 18:12:24 (UTC) |
---|---|---|
committer | simon <simon> | 2002-12-14 18:12:24 (UTC) |
commit | ae7a270c56fa0fff6d3f530c80532c54c51be596 (patch) (unidiff) | |
tree | 1b2012f79c9f4f8c8089fcc9732b109d494d1654 /noncore/multimedia/opieplayer2/skin.cpp | |
parent | d73e34645e839c1aea21bd62e622788361cf866d (diff) | |
download | opie-ae7a270c56fa0fff6d3f530c80532c54c51be596.zip opie-ae7a270c56fa0fff6d3f530c80532c54c51be596.tar.gz opie-ae7a270c56fa0fff6d3f530c80532c54c51be596.tar.bz2 |
- removed unused method
Diffstat (limited to 'noncore/multimedia/opieplayer2/skin.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/skin.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/noncore/multimedia/opieplayer2/skin.cpp b/noncore/multimedia/opieplayer2/skin.cpp index d6f4080..a8f4ae9 100644 --- a/noncore/multimedia/opieplayer2/skin.cpp +++ b/noncore/multimedia/opieplayer2/skin.cpp | |||
@@ -83,20 +83,12 @@ Skin::~Skin() | |||
83 | void Skin::init( const QString &name ) | 83 | void Skin::init( const QString &name ) |
84 | { | 84 | { |
85 | m_skinPath = "opieplayer2/skins/" + name; | 85 | m_skinPath = "opieplayer2/skins/" + name; |
86 | d = SkinCache::self().lookupAndTake( m_skinPath, m_fileNameInfix ); | 86 | d = SkinCache::self().lookupAndTake( m_skinPath, m_fileNameInfix ); |
87 | } | 87 | } |
88 | 88 | ||
89 | void Skin::preload( const MediaWidget::SkinButtonInfo *skinButtonInfo, uint buttonCount ) | ||
90 | { | ||
91 | backgroundPixmap(); | ||
92 | buttonUpImage(); | ||
93 | buttonDownImage(); | ||
94 | ( void )buttonMask( skinButtonInfo, buttonCount ); | ||
95 | } | ||
96 | |||
97 | QPixmap Skin::backgroundPixmap() const | 89 | QPixmap Skin::backgroundPixmap() const |
98 | { | 90 | { |
99 | if ( d->backgroundPixmap.isNull() ) | 91 | if ( d->backgroundPixmap.isNull() ) |
100 | d->backgroundPixmap = loadImage( QString( "%1/background" ).arg( m_skinPath ) ); | 92 | d->backgroundPixmap = loadImage( QString( "%1/background" ).arg( m_skinPath ) ); |
101 | return d->backgroundPixmap; | 93 | return d->backgroundPixmap; |
102 | } | 94 | } |