author | llornkcor <llornkcor> | 2002-09-25 19:46:08 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-09-25 19:46:08 (UTC) |
commit | 71a6630a57ecea0214a490b3490fae19ae290bf7 (patch) (unidiff) | |
tree | fa65095cf2b81dd3144b2fcd6b7ddbfc50e665f1 | |
parent | c96507591791d48a6d6dad3de6c15739c84e1c93 (diff) | |
download | opie-71a6630a57ecea0214a490b3490fae19ae290bf7.zip opie-71a6630a57ecea0214a490b3490fae19ae290bf7.tar.gz opie-71a6630a57ecea0214a490b3490fae19ae290bf7.tar.bz2 |
remove processEvents as xine acts better than old libs
-rw-r--r-- | noncore/multimedia/opieplayer2/playlistwidget.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/noncore/multimedia/opieplayer2/playlistwidget.cpp b/noncore/multimedia/opieplayer2/playlistwidget.cpp index 4c4a921..19724cb 100644 --- a/noncore/multimedia/opieplayer2/playlistwidget.cpp +++ b/noncore/multimedia/opieplayer2/playlistwidget.cpp | |||
@@ -298,27 +298,27 @@ void PlayListWidget::setDocument( const QString& fileref ) { | |||
298 | readm3u( fileref ); | 298 | readm3u( fileref ); |
299 | } else if( fileref.find( "pls", 0, TRUE) != -1 ) { //is pls | 299 | } else if( fileref.find( "pls", 0, TRUE) != -1 ) { //is pls |
300 | readPls( fileref ); | 300 | readPls( fileref ); |
301 | } else if( fileref.find( "playlist", 0, TRUE) != -1 ) {//is playlist | 301 | } else if( fileref.find( "playlist", 0, TRUE) != -1 ) {//is playlist |
302 | clearList(); | 302 | clearList(); |
303 | loadList( DocLnk( fileref ) ); | 303 | loadList( DocLnk( fileref ) ); |
304 | d->selectedFiles->first(); | 304 | d->selectedFiles->first(); |
305 | } else { | 305 | } else { |
306 | clearList(); | 306 | clearList(); |
307 | addToSelection( DocLnk( fileref ) ); | 307 | addToSelection( DocLnk( fileref ) ); |
308 | d->setDocumentUsed = TRUE; | 308 | d->setDocumentUsed = TRUE; |
309 | mediaPlayerState->setPlaying( FALSE ); | 309 | mediaPlayerState->setPlaying( FALSE ); |
310 | qApp->processEvents(); | 310 | // qApp->processEvents(); |
311 | mediaPlayerState->setPlaying( TRUE ); | 311 | mediaPlayerState->setPlaying( TRUE ); |
312 | qApp->processEvents(); | 312 | // qApp->processEvents(); |
313 | setCaption( tr("OpiePlayer") ); | 313 | setCaption( tr("OpiePlayer") ); |
314 | } | 314 | } |
315 | } | 315 | } |
316 | 316 | ||
317 | 317 | ||
318 | void PlayListWidget::useSelectedDocument() { | 318 | void PlayListWidget::useSelectedDocument() { |
319 | d->setDocumentUsed = FALSE; | 319 | d->setDocumentUsed = FALSE; |
320 | } | 320 | } |
321 | 321 | ||
322 | 322 | ||
323 | const DocLnk *PlayListWidget::current() { // this is fugly | 323 | const DocLnk *PlayListWidget::current() { // this is fugly |
324 | switch ( whichList() ) { | 324 | switch ( whichList() ) { |
@@ -604,25 +604,25 @@ void PlayListWidget::tabChanged(QWidget *) { | |||
604 | tbDeletePlaylist->show(); | 604 | tbDeletePlaylist->show(); |
605 | } | 605 | } |
606 | playLists->reread(); | 606 | playLists->reread(); |
607 | } | 607 | } |
608 | break; | 608 | break; |
609 | }; | 609 | }; |
610 | } | 610 | } |
611 | 611 | ||
612 | 612 | ||
613 | void PlayListWidget::btnPlay(bool b) { | 613 | void PlayListWidget::btnPlay(bool b) { |
614 | // mediaPlayerState->setPlaying(false); | 614 | // mediaPlayerState->setPlaying(false); |
615 | mediaPlayerState->setPlaying(b); | 615 | mediaPlayerState->setPlaying(b); |
616 | qApp->processEvents(); | 616 | // qApp->processEvents(); |
617 | insanityBool=FALSE; | 617 | insanityBool=FALSE; |
618 | // switch ( whichList()) { | 618 | // switch ( whichList()) { |
619 | // case 0: | 619 | // case 0: |
620 | // { | 620 | // { |
621 | // mediaPlayerState->setPlaying(b); | 621 | // mediaPlayerState->setPlaying(b); |
622 | // } | 622 | // } |
623 | // break; | 623 | // break; |
624 | // case 1: | 624 | // case 1: |
625 | // { | 625 | // { |
626 | // mediaPlayerState->setPlaying(b); | 626 | // mediaPlayerState->setPlaying(b); |
627 | // qApp->processEvents(); | 627 | // qApp->processEvents(); |
628 | // insanityBool=FALSE; | 628 | // insanityBool=FALSE; |