summaryrefslogtreecommitdiff
authorsimon <simon>2002-12-14 18:00:50 (UTC)
committer simon <simon>2002-12-14 18:00:50 (UTC)
commitd73e34645e839c1aea21bd62e622788361cf866d (patch) (unidiff)
tree8f290403aa5ddae5b07ce53e5e551112848998bf
parent309c34a61e7cf6a199275c32c00ec1eaaa511d9b (diff)
downloadopie-d73e34645e839c1aea21bd62e622788361cf866d.zip
opie-d73e34645e839c1aea21bd62e622788361cf866d.tar.gz
opie-d73e34645e839c1aea21bd62e622788361cf866d.tar.bz2
- oops, forgot this one
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/mediawidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/multimedia/opieplayer2/mediawidget.cpp b/noncore/multimedia/opieplayer2/mediawidget.cpp
index f7a22a3..edef2a7 100644
--- a/noncore/multimedia/opieplayer2/mediawidget.cpp
+++ b/noncore/multimedia/opieplayer2/mediawidget.cpp
@@ -60,33 +60,33 @@ MediaWidget::Button MediaWidget::setupButton( const SkinButtonInfo &buttonInfo,
60 Button button; 60 Button button;
61 button.command = buttonInfo.command; 61 button.command = buttonInfo.command;
62 button.type = buttonInfo.type; 62 button.type = buttonInfo.type;
63 button.mask = skin.buttonMaskImage( buttonInfo.fileName ); 63 button.mask = skin.buttonMaskImage( buttonInfo.fileName );
64 64
65 return button; 65 return button;
66} 66}
67 67
68void MediaWidget::loadDefaultSkin( const GUIInfo &guiInfo ) 68void MediaWidget::loadDefaultSkin( const GUIInfo &guiInfo )
69{ 69{
70 Skin skin( guiInfo.fileNameInfix ); 70 Skin skin( guiInfo.fileNameInfix );
71 loadSkin( guiInfo.buttonInfo, guiInfo.buttonCount, skin ); 71 loadSkin( guiInfo.buttonInfo, guiInfo.buttonCount, skin );
72} 72}
73 73
74void MediaWidget::loadSkin( const SkinButtonInfo *skinInfo, uint buttonCount, const Skin &skin ) 74void MediaWidget::loadSkin( const SkinButtonInfo *skinInfo, uint buttonCount, const Skin &skin )
75{ 75{
76 backgroundPixmap = skin.backgroundImage(); 76 backgroundPixmap = skin.backgroundPixmap();
77 buttonUpImage = skin.buttonUpImage(); 77 buttonUpImage = skin.buttonUpImage();
78 buttonDownImage = skin.buttonDownImage(); 78 buttonDownImage = skin.buttonDownImage();
79 79
80 setupButtons( skinInfo, buttonCount, skin ); 80 setupButtons( skinInfo, buttonCount, skin );
81} 81}
82 82
83void MediaWidget::closeEvent( QCloseEvent * ) 83void MediaWidget::closeEvent( QCloseEvent * )
84{ 84{
85 mediaPlayerState.setList(); 85 mediaPlayerState.setList();
86} 86}
87 87
88void MediaWidget::paintEvent( QPaintEvent *pe ) 88void MediaWidget::paintEvent( QPaintEvent *pe )
89{ 89{
90 QPainter p( this ); 90 QPainter p( this );
91 91
92 if ( mediaPlayerState.isFullscreen() ) { 92 if ( mediaPlayerState.isFullscreen() ) {