author | llornkcor <llornkcor> | 2003-06-11 23:09:04 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2003-06-11 23:09:04 (UTC) |
commit | f0fab7d044feb2fe7f6a8c2a8d41653e1a17a538 (patch) (side-by-side diff) | |
tree | 4d8a625d5dd4ab6fba872f14b6d9e5c7e9cb13fe | |
parent | 24097a2790fd7bb241a0a8da24ef2996e4f4ad15 (diff) | |
download | opie-f0fab7d044feb2fe7f6a8c2a8d41653e1a17a538.zip opie-f0fab7d044feb2fe7f6a8c2a8d41653e1a17a538.tar.gz opie-f0fab7d044feb2fe7f6a8c2a8d41653e1a17a538.tar.bz2 |
compile
-rw-r--r-- | core/multimedia/opieplayer/playlistwidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/multimedia/opieplayer/playlistwidget.cpp b/core/multimedia/opieplayer/playlistwidget.cpp index 1fc7dd8..efea385 100644 --- a/core/multimedia/opieplayer/playlistwidget.cpp +++ b/core/multimedia/opieplayer/playlistwidget.cpp @@ -1067,33 +1067,33 @@ void PlayListWidget::openFile() { filename = fileDlg->text(); // qDebug( "Selected filename is " + filename ); DocLnk lnk; Config cfg( "OpiePlayer" ); cfg.setGroup("PlayList"); QString m3uFile; m3uFile = filename; if(filename.left(4) == "http") { if(filename.find(":",8,TRUE) != -1) { //found a port m3uFile = filename; if( m3uFile.right( 1 ).find( '/' ) == -1) { m3uFile += "/"; } filename = m3uFile; - = } + } lnk.setName( m3uFile ); //sets name lnk.setFile( filename ); //sets file name lnk.setIcon("opieplayer2/musicfile"); d->selectedFiles->addToSelection( lnk ); writeCurrentM3u(); } else if( filename.right( 3) == "m3u" ) { readm3u( filename ); } else if( filename.right(3) == "pls" ) { readPls( filename ); } else { lnk.setName( fullBaseName ( QFileInfo(filename)) ); //sets name lnk.setFile( filename ); //sets file name d->selectedFiles->addToSelection( lnk); lnk.removeLinkFile(); |