summaryrefslogtreecommitdiff
authorbipolar <bipolar>2002-03-03 17:24:21 (UTC)
committer bipolar <bipolar>2002-03-03 17:24:21 (UTC)
commit9dfc9322b87eda3264b3b53039170c199c327e88 (patch) (unidiff)
treecdfb0c21a4378d484c4fe5d5e59f2804443deb23
parenta99347380a9006ec81a9dba2340d6aaab690a86e (diff)
downloadopie-9dfc9322b87eda3264b3b53039170c199c327e88.zip
opie-9dfc9322b87eda3264b3b53039170c199c327e88.tar.gz
opie-9dfc9322b87eda3264b3b53039170c199c327e88.tar.bz2
committed by ljp (llornkcor): opps, fixed loading playlists
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/multimedia/opieplayer/playlistwidget.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/core/multimedia/opieplayer/playlistwidget.cpp b/core/multimedia/opieplayer/playlistwidget.cpp
index 7862d8d..ae03ec8 100644
--- a/core/multimedia/opieplayer/playlistwidget.cpp
+++ b/core/multimedia/opieplayer/playlistwidget.cpp
@@ -47,13 +47,12 @@
47//#include <qtimer.h> 47//#include <qtimer.h>
48 48
49#include "playlistselection.h" 49#include "playlistselection.h"
50#include "playlistwidget.h" 50#include "playlistwidget.h"
51#include "mediaplayerstate.h" 51#include "mediaplayerstate.h"
52 52
53#include "fileBrowser.h"
54#include "inputDialog.h" 53#include "inputDialog.h"
55 54
56#include <stdlib.h> 55#include <stdlib.h>
57 56
58#define BUTTONS_ON_TOOLBAR 57#define BUTTONS_ON_TOOLBAR
59#define SIDE_BUTTONS 58#define SIDE_BUTTONS
@@ -558,15 +557,15 @@ void PlayListWidget::saveList() {
558 if(fileDlg) 557 if(fileDlg)
559 delete fileDlg; 558 delete fileDlg;
560} 559}
561 560
562 561
563void PlayListWidget::loadList( const DocLnk & lnk) { 562void PlayListWidget::loadList( const DocLnk & lnk) {
564 563 qDebug("load list "+ lnk.name()+".playlist");
565 clearList(); 564 clearList();
566 Config cfg( lnk.file()); 565 Config cfg( lnk.name()+".playlist");
567 readConfig(cfg); 566 readConfig(cfg);
568 tabWidget->setCurrentPage(0); 567 tabWidget->setCurrentPage(0);
569 setCaption("OpiePlayer: "+lnk.name()); 568 setCaption("OpiePlayer: "+lnk.name());
570} 569}
571 570
572 571