summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-09-21 02:34:35 (UTC)
committer llornkcor <llornkcor>2002-09-21 02:34:35 (UTC)
commit2f560ac908935bd4bc4a6b8852d27676100510bb (patch) (side-by-side diff)
tree867ee58eb1846f68ec2adf0ec3e6a8d1cccd7ef0
parent56d434ffe69337186941eba1b5b5dee16da537d7 (diff)
downloadopie-2f560ac908935bd4bc4a6b8852d27676100510bb.zip
opie-2f560ac908935bd4bc4a6b8852d27676100510bb.tar.gz
opie-2f560ac908935bd4bc4a6b8852d27676100510bb.tar.bz2
playlist might have only one letter in name.. needs to be seen also
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/playlistwidget.cpp4
1 files changed, 2 insertions, 2 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
@@ -438,14 +438,14 @@ void PlayListWidget::saveList() {
delete fileDlg;
}
}
void PlayListWidget::loadList( const DocLnk & lnk) {
QString name= lnk.name();
- // qDebug("currentList is "+name);
- if( name.length()>1) {
+// qDebug("currentList is "+name);
+ if( name.length()>0) {
setCaption("OpiePlayer: "+name);
// qDebug("load list "+ name+".playlist");
clearList();
Config cfg( name+".playlist");
readConfig(cfg);