Diffstat (limited to 'noncore/multimedia/opieplayer2') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/audiowidget.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/multimedia/opieplayer2/audiowidget.cpp b/noncore/multimedia/opieplayer2/audiowidget.cpp index 2c54ae6..4242aa6 100644 --- a/noncore/multimedia/opieplayer2/audiowidget.cpp +++ b/noncore/multimedia/opieplayer2/audiowidget.cpp | |||
@@ -33,12 +33,14 @@ | |||
33 | 33 | ||
34 | 34 | ||
35 | #include "audiowidget.h" | 35 | #include "audiowidget.h" |
36 | #include "mediaplayerstate.h" | 36 | #include "mediaplayerstate.h" |
37 | #include "playlistwidget.h" | 37 | #include "playlistwidget.h" |
38 | 38 | ||
39 | #include <qpe/qpeapplication.h> | ||
40 | |||
39 | namespace | 41 | namespace |
40 | { | 42 | { |
41 | 43 | ||
42 | const int xo = -2; // movable x offset | 44 | const int xo = -2; // movable x offset |
43 | const int yo = 22; // movable y offset | 45 | const int yo = 22; // movable y offset |
44 | 46 | ||
@@ -142,13 +144,13 @@ void AudioWidget::setLength( long max ) { | |||
142 | } | 144 | } |
143 | 145 | ||
144 | 146 | ||
145 | void AudioWidget::setDisplayType( MediaPlayerState::DisplayType mediaType ) { | 147 | void AudioWidget::setDisplayType( MediaPlayerState::DisplayType mediaType ) { |
146 | if ( mediaType == MediaPlayerState::Audio ) { | 148 | if ( mediaType == MediaPlayerState::Audio ) { |
147 | // startTimer( 150 ); | 149 | // startTimer( 150 ); |
148 | showMaximized(); | 150 | QPEApplication::showDialog( this ); |
149 | return; | 151 | return; |
150 | } | 152 | } |
151 | 153 | ||
152 | killTimers(); | 154 | killTimers(); |
153 | hide(); | 155 | hide(); |
154 | } | 156 | } |