author | llornkcor <llornkcor> | 2002-08-20 02:12:07 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-08-20 02:12:07 (UTC) |
commit | 16b105a34b4e525cf6690e55beacf4baa57e60d7 (patch) (unidiff) | |
tree | 8e3713e7483e11bbbe5ff7133bf505ca266a49e0 | |
parent | 0d336f310b310ba18af70185eed58be6e07c26d8 (diff) | |
download | opie-16b105a34b4e525cf6690e55beacf4baa57e60d7.zip opie-16b105a34b4e525cf6690e55beacf4baa57e60d7.tar.gz opie-16b105a34b4e525cf6690e55beacf4baa57e60d7.tar.bz2 |
added 'initialzing' message to caption, until after xine is initialized
-rw-r--r-- | noncore/multimedia/opieplayer2/mediaplayer.cpp | 8 | ||||
-rw-r--r-- | noncore/multimedia/opieplayer2/playlistwidget.cpp | 2 |
2 files changed, 7 insertions, 3 deletions
diff --git a/noncore/multimedia/opieplayer2/mediaplayer.cpp b/noncore/multimedia/opieplayer2/mediaplayer.cpp index 0f8242b..6a48b82 100644 --- a/noncore/multimedia/opieplayer2/mediaplayer.cpp +++ b/noncore/multimedia/opieplayer2/mediaplayer.cpp | |||
@@ -35,4 +35,6 @@ MediaPlayer::MediaPlayer( QObject *parent, const char *name ) | |||
35 | : QObject( parent, name ), volumeDirection( 0 ), currentFile( NULL ) { | 35 | : QObject( parent, name ), volumeDirection( 0 ), currentFile( NULL ) { |
36 | 36 | ||
37 | playList->setCaption(tr("OpiePlayer: Initializating")); | ||
38 | |||
37 | qApp->processEvents(); | 39 | qApp->processEvents(); |
38 | // QPEApplication::grabKeyboard(); // EVIL | 40 | // QPEApplication::grabKeyboard(); // EVIL |
@@ -59,4 +61,5 @@ MediaPlayer::MediaPlayer( QObject *parent, const char *name ) | |||
59 | volControl = new VolumeControl; | 61 | volControl = new VolumeControl; |
60 | xineControl = new XineControl(); | 62 | xineControl = new XineControl(); |
63 | playList->setCaption(tr("OpiePlayer")); | ||
61 | } | 64 | } |
62 | 65 | ||
@@ -264,5 +267,5 @@ void MediaPlayer::blank( bool b ) { | |||
264 | close( fd ); | 267 | close( fd ); |
265 | } else { | 268 | } else { |
266 | qDebug("<< /dev/fb0 could not be opend >>"); | 269 | qDebug("<< /dev/fb0 could not be opened >>"); |
267 | } | 270 | } |
268 | } | 271 | } |
@@ -290,5 +293,6 @@ void MediaPlayer::keyReleaseEvent( QKeyEvent *e) { | |||
290 | } | 293 | } |
291 | 294 | ||
292 | void MediaPlayer::cleanUp() { | 295 | void MediaPlayer::cleanUp() {// this happens on closing |
296 | |||
293 | // QPEApplication::grabKeyboard(); | 297 | // QPEApplication::grabKeyboard(); |
294 | // QPEApplication::ungrabKeyboard(); | 298 | // QPEApplication::ungrabKeyboard(); |
diff --git a/noncore/multimedia/opieplayer2/playlistwidget.cpp b/noncore/multimedia/opieplayer2/playlistwidget.cpp index 251c2e5..5c804f5 100644 --- a/noncore/multimedia/opieplayer2/playlistwidget.cpp +++ b/noncore/multimedia/opieplayer2/playlistwidget.cpp | |||
@@ -100,5 +100,5 @@ PlayListWidget::PlayListWidget( QWidget* parent, const char* name, WFlags fl ) | |||
100 | setBackgroundMode( PaletteButton ); | 100 | setBackgroundMode( PaletteButton ); |
101 | 101 | ||
102 | setCaption( tr("OpiePlayer") ); | 102 | // setCaption( tr("OpiePlayer") ); |
103 | setIcon( Resource::loadPixmap( "opieplayer2/MPEGPlayer" ) ); | 103 | setIcon( Resource::loadPixmap( "opieplayer2/MPEGPlayer" ) ); |
104 | 104 | ||