author | llornkcor <llornkcor> | 2003-06-11 03:38:10 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2003-06-11 03:38:10 (UTC) |
commit | 22be97432c25bad67b4fb241977670657facb3af (patch) (unidiff) | |
tree | 19826054782bdf38590af084c29e77f2314daed6 | |
parent | bb6afc95ea64329f8fb9b7af8727b0c13747dde0 (diff) | |
download | opie-22be97432c25bad67b4fb241977670657facb3af.zip opie-22be97432c25bad67b4fb241977670657facb3af.tar.gz opie-22be97432c25bad67b4fb241977670657facb3af.tar.bz2 |
fix setDocument for lists
-rw-r--r-- | core/multimedia/opieplayer/playlistwidget.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/multimedia/opieplayer/playlistwidget.cpp b/core/multimedia/opieplayer/playlistwidget.cpp index 5d0f6de..7ea95ab 100644 --- a/core/multimedia/opieplayer/playlistwidget.cpp +++ b/core/multimedia/opieplayer/playlistwidget.cpp | |||
@@ -492,16 +492,17 @@ void PlayListWidget::addAllVideoToList() { | |||
492 | writeCurrentM3u(); | 492 | writeCurrentM3u(); |
493 | d->selectedFiles->first(); | 493 | d->selectedFiles->first(); |
494 | } | 494 | } |
495 | 495 | ||
496 | 496 | ||
497 | void PlayListWidget::setDocument(const QString& fileref) { | 497 | void PlayListWidget::setDocument(const QString& fileref) { |
498 | fromSetDocument = true; | 498 | fromSetDocument = true; |
499 | d->setDocumentUsed = TRUE; | 499 | d->setDocumentUsed = TRUE; |
500 | d->selectedFiles->setSelected(d->selectedFiles->firstChild(),true ); | ||
500 | mediaPlayerState->setPlaying( FALSE ); | 501 | mediaPlayerState->setPlaying( FALSE ); |
501 | qApp->processEvents(); | 502 | qApp->processEvents(); |
502 | mediaPlayerState->setPlaying( TRUE ); | 503 | mediaPlayerState->setPlaying( TRUE ); |
503 | } | 504 | } |
504 | 505 | ||
505 | void PlayListWidget::setDocumentEx(const QString& fileref) { | 506 | void PlayListWidget::setDocumentEx(const QString& fileref) { |
506 | 507 | ||
507 | QFileInfo fileInfo(fileref); | 508 | QFileInfo fileInfo(fileref); |