summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2004-06-16 09:37:59 (UTC)
committer llornkcor <llornkcor>2004-06-16 09:37:59 (UTC)
commit4386dec4cc1b5ef3272b9aba352dfa6fba6a4e06 (patch) (unidiff)
treebcfa76b6b25e8a341309545eb26cdcceae79d159
parent334da0ef825f861792a12f9b51201ed81b491cec (diff)
downloadopie-4386dec4cc1b5ef3272b9aba352dfa6fba6a4e06.zip
opie-4386dec4cc1b5ef3272b9aba352dfa6fba6a4e06.tar.gz
opie-4386dec4cc1b5ef3272b9aba352dfa6fba6a4e06.tar.bz2
fix position error
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/multimedia/opieplayer/audiowidget.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/multimedia/opieplayer/audiowidget.cpp b/core/multimedia/opieplayer/audiowidget.cpp
index 376f8d3..d135647 100644
--- a/core/multimedia/opieplayer/audiowidget.cpp
+++ b/core/multimedia/opieplayer/audiowidget.cpp
@@ -168,13 +168,15 @@ AudioWidget::AudioWidget(QWidget* parent, const char* name, WFlags f) :
168 // Intialise state 168 // Intialise state
169 setLength( mediaPlayerState->length() ); 169 setLength( mediaPlayerState->length() );
170 setPosition( mediaPlayerState->position() ); 170 setPosition( mediaPlayerState->position() );
171 setLooping( mediaPlayerState->fullscreen() ); 171 setLooping( mediaPlayerState->fullscreen() );
172// setPaused( mediaPlayerState->paused() ); 172// setPaused( mediaPlayerState->paused() );
173 setPlaying( mediaPlayerState->playing() ); 173 setPlaying( mediaPlayerState->playing() );
174this->setFocus(); 174 this->setFocus();
175 if(this->x() < 0 || this->y() < 0)
176 this->move(0,0);
175} 177}
176 178
177 179
178AudioWidget::~AudioWidget() { 180AudioWidget::~AudioWidget() {
179 // setPlaying( false); 181 // setPlaying( false);
180 182