Version: 2.3.3 (using KDE 3.1.94 (CVS >= 20031206), compiled sources) Compiler: gcc version 3.3.2 (Debian) OS: Linux (i686) release 2.6.0dell-optiplex The 'split' playlist does an open when I select the 'new' entry from the menu. This is a clean styleguide violation. How can I empty my playlist?
CVS commit by charles: "The 'split' playlist does an open when I select the 'new' entry from the menu" CCMAIL:71366-done@bugs.kde.org M +2 -8 view.cpp 1.142 --- kdemultimedia/noatun/modules/splitplaylist/view.cpp #1.141:1.142 @@ -846,4 +846,5 @@ void View::open() if(!u.isValid()) return; + mPlaylistFile = u; list->openGlobal(u); setModified(false); @@ -852,13 +853,6 @@ void View::open() void View::openNew() { - KURL u=KFileDialog::getOpenURL(0, "*.xml splitplaylistdata *.pls *.m3u\n*", this, i18n("Open New Playlist")); - if(!u.isValid()) - return; - mPlaylistFile = u; - + mPlaylistFile = ""; listView()->clear(); - list->openGlobal(mPlaylistFile); - - setModified(false); }