Bug 71366 - 'New' does not follow styleguide
Summary: 'New' does not follow styleguide
Status: RESOLVED FIXED
Alias: None
Product: noatun
Classification: Unmaintained
Component: split (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Multimedia Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-28 16:55 UTC by Thomas Zander
Modified: 2004-08-29 23:27 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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);
 }