[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdebase/kmenuedit
From:       Frerich Raabe <raabe () kde ! org>
Date:       2003-07-01 4:23:20
[Download RAW message or body]

CVS commit by raabe: 

- Removed non-sensical const bool. I wonder how stoned one has to be to come
  up with such constructs *cough*


  M +2 -2      treeview.cpp   1.64
  M +2 -2      treeview.h   1.23


--- kdebase/kmenuedit/treeview.cpp  #1.63:1.64
@@ -470,5 +470,5 @@ void TreeView::copyDir(const QString& s,
 //               1 - removed only local
 //               2 - removed none
-bool TreeView::deleteFile(const QString& deskfile, const bool move)
+bool TreeView::deleteFile(const QString& deskfile, bool move)
 {
     // We search for the file in all prefixes and remove all writeable
@@ -525,5 +525,5 @@ bool TreeView::deleteFile(const QString&
 }
 
-bool TreeView::deleteDir(const QString& d, const bool move)
+bool TreeView::deleteDir(const QString& d, bool move)
 {
     // We delete all .desktop files and then process with the subdirs.

--- kdebase/kmenuedit/treeview.h  #1.22:1.23
@@ -106,6 +106,6 @@ protected:
     void copyDir(const QString& src, const QString& dest, bool moving );
 
-    bool deleteFile(const QString& deskfile, const bool move = false);
-    bool deleteDir(const QString& dir, const bool move = false);
+    bool deleteFile(const QString& deskfile, bool move = false);
+    bool deleteDir(const QString& dir, bool move = false);
     void hideDir(const QString& d, const QString name, bool hide);
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic