author | llornkcor <llornkcor> | 2002-09-21 02:34:35 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-09-21 02:34:35 (UTC) |
commit | 2f560ac908935bd4bc4a6b8852d27676100510bb (patch) (side-by-side diff) | |
tree | 867ee58eb1846f68ec2adf0ec3e6a8d1cccd7ef0 | |
parent | 56d434ffe69337186941eba1b5b5dee16da537d7 (diff) | |
download | opie-2f560ac908935bd4bc4a6b8852d27676100510bb.zip opie-2f560ac908935bd4bc4a6b8852d27676100510bb.tar.gz opie-2f560ac908935bd4bc4a6b8852d27676100510bb.tar.bz2 |
playlist might have only one letter in name.. needs to be seen also
-rw-r--r-- | noncore/multimedia/opieplayer2/playlistwidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/multimedia/opieplayer2/playlistwidget.cpp b/noncore/multimedia/opieplayer2/playlistwidget.cpp index 20adf17..4c4a921 100644 --- a/noncore/multimedia/opieplayer2/playlistwidget.cpp +++ b/noncore/multimedia/opieplayer2/playlistwidget.cpp @@ -433,25 +433,25 @@ void PlayListWidget::saveList() { Config config( "OpiePlayer" ); config.writeEntry("CurrentPlaylist",filename); setCaption(tr("OpiePlayer: ")+filename); d->selectedFiles->first(); if(fileDlg) { delete fileDlg; } } void PlayListWidget::loadList( const DocLnk & lnk) { QString name= lnk.name(); // qDebug("currentList is "+name); - if( name.length()>1) { + if( name.length()>0) { setCaption("OpiePlayer: "+name); // qDebug("load list "+ name+".playlist"); clearList(); Config cfg( name+".playlist"); readConfig(cfg); tabWidget->setCurrentPage(0); Config config( "OpiePlayer" ); config.writeEntry("CurrentPlaylist", name); // d->selectedFiles->first(); } |