Bug 71366

Summary: 'New' does not follow styleguide
Product: [Unmaintained] noatun Reporter: Thomas Zander <zander>
Component: splitAssignee: Multimedia Developers <kde-multimedia>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Thomas Zander 2003-12-28 16:55:50 UTC
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?
Comment 1 Charles Samuels 2004-08-29 23:27:49 UTC
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);
 }