-rw-r--r-- | noncore/multimedia/opieplayer2/playlistwidget.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/noncore/multimedia/opieplayer2/playlistwidget.cpp b/noncore/multimedia/opieplayer2/playlistwidget.cpp index 6a15134..36f77be 100644 --- a/noncore/multimedia/opieplayer2/playlistwidget.cpp +++ b/noncore/multimedia/opieplayer2/playlistwidget.cpp @@ -328,7 +328,13 @@ void PlayListWidget::addAllVideoToList() { -void PlayListWidget::setDocument( const QString& fileref ) { +void PlayListWidget::setDocument( const QString& _fileref ) { // odebug << "<<<<<<<<set document>>>>>>>>>> "+fileref << oendl; + QString fileref = _fileref; fromSetDocument = TRUE; + + DocLnk lnk(_fileref); + if(lnk.isValid()) + fileref = lnk.file(); + QFileInfo fileInfo(fileref); |