summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-10-08 14:04:49 (UTC)
committer llornkcor <llornkcor>2002-10-08 14:04:49 (UTC)
commit35858cdc60ab8ca959804e9994a7ce2cf8e99000 (patch) (unidiff)
treedbe50718c5369cc5daba16dd8a6c4b4ef7010704
parent89fa0437f110efc93443dd9ce0b2bbf2a9e5f9b2 (diff)
downloadopie-35858cdc60ab8ca959804e9994a7ce2cf8e99000.zip
opie-35858cdc60ab8ca959804e9994a7ce2cf8e99000.tar.gz
opie-35858cdc60ab8ca959804e9994a7ce2cf8e99000.tar.bz2
fix load playlist
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/playlistwidget.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/multimedia/opieplayer2/playlistwidget.cpp b/noncore/multimedia/opieplayer2/playlistwidget.cpp
index b6525e1..897c458 100644
--- a/noncore/multimedia/opieplayer2/playlistwidget.cpp
+++ b/noncore/multimedia/opieplayer2/playlistwidget.cpp
@@ -154,6 +154,7 @@ PlayListWidget::PlayListWidget( QWidget* parent, const char* name, WFlags fl )
154 populateSkinsMenu(); 154 populateSkinsMenu();
155 initializeStates(); 155 initializeStates();
156 156
157 cfg.setGroup("PlayList");
157 QString currentPlaylist = cfg.readEntry( "CurrentPlaylist", "" ); 158 QString currentPlaylist = cfg.readEntry( "CurrentPlaylist", "" );
158 loadList(DocLnk( currentPlaylist ) ); 159 loadList(DocLnk( currentPlaylist ) );
159 setCaption( tr( "OpiePlayer: " ) + currentPlaylist ); 160 setCaption( tr( "OpiePlayer: " ) + currentPlaylist );
@@ -484,7 +485,7 @@ bool PlayListWidget::last() {
484 485
485void PlayListWidget::loadList( const DocLnk & lnk) { 486void PlayListWidget::loadList( const DocLnk & lnk) {
486 QString name = lnk.name(); 487 QString name = lnk.name();
487 // qDebug("<<<<<<<<<<<<<<<<<<<<<<<<currentList is "+name); 488 qDebug("<<<<<<<<<<<<<<<<<<<<<<<<currentList is "+name);
488 489
489 if( name.length()>0) { 490 if( name.length()>0) {
490 setCaption("OpiePlayer: "+name); 491 setCaption("OpiePlayer: "+name);