summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-11-10 15:09:42 (UTC)
committer llornkcor <llornkcor>2002-11-10 15:09:42 (UTC)
commit1486b6f940adde3cd80592e436e8e025045d7f8e (patch) (unidiff)
treec7e0add7b96a10cbd5095bdfd2845c4e063ebccb
parent521b993fb4175e699e9ac832c50558af0354ca25 (diff)
downloadopie-1486b6f940adde3cd80592e436e8e025045d7f8e.zip
opie-1486b6f940adde3cd80592e436e8e025045d7f8e.tar.gz
opie-1486b6f940adde3cd80592e436e8e025045d7f8e.tar.bz2
need a default m3u to write too
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/playlistwidget.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/multimedia/opieplayer2/playlistwidget.cpp b/noncore/multimedia/opieplayer2/playlistwidget.cpp
index 7ada5ee..75c7332 100644
--- a/noncore/multimedia/opieplayer2/playlistwidget.cpp
+++ b/noncore/multimedia/opieplayer2/playlistwidget.cpp
@@ -709,6 +709,8 @@ void PlayListWidget::populateVideoView() {
709 709
710 710
711void PlayListWidget::openFile() { 711void PlayListWidget::openFile() {
712 // http://66.28.164.33:2080
713 // http://somafm.com/star0242.m3u
712 QString filename, name; 714 QString filename, name;
713 InputDialog *fileDlg; 715 InputDialog *fileDlg;
714 fileDlg = new InputDialog(this,tr("Open file or URL"),TRUE, 0); 716 fileDlg = new InputDialog(this,tr("Open file or URL"),TRUE, 0);
@@ -859,7 +861,7 @@ void PlayListWidget::writeCurrentM3u() {
859 qDebug("writing to current m3u"); 861 qDebug("writing to current m3u");
860 Config cfg( "OpiePlayer" ); 862 Config cfg( "OpiePlayer" );
861 cfg.setGroup("PlayList"); 863 cfg.setGroup("PlayList");
862 QString currentPlaylist = cfg.readEntry("CurrentPlaylist",""); 864 QString currentPlaylist = cfg.readEntry("CurrentPlaylist","default");
863 865
864 if( d->selectedFiles->first()) { 866 if( d->selectedFiles->first()) {
865 Om3u *m3uList; 867 Om3u *m3uList;