From 1486b6f940adde3cd80592e436e8e025045d7f8e Mon Sep 17 00:00:00 2001 From: llornkcor Date: Sun, 10 Nov 2002 15:09:42 +0000 Subject: need a default m3u to write too --- 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() { void PlayListWidget::openFile() { + // http://66.28.164.33:2080 + // http://somafm.com/star0242.m3u QString filename, name; InputDialog *fileDlg; fileDlg = new InputDialog(this,tr("Open file or URL"),TRUE, 0); @@ -859,7 +861,7 @@ void PlayListWidget::writeCurrentM3u() { qDebug("writing to current m3u"); Config cfg( "OpiePlayer" ); cfg.setGroup("PlayList"); - QString currentPlaylist = cfg.readEntry("CurrentPlaylist",""); + QString currentPlaylist = cfg.readEntry("CurrentPlaylist","default"); if( d->selectedFiles->first()) { Om3u *m3uList; -- cgit v0.9.0.2