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

List:       kde-commits
Subject:    kdesdk/cervisia
From:       André Wöbbeking <Woebbeking () web ! de>
Date:       2004-01-16 11:46:55
Message-ID: 20040116114655.808E56C6E () office ! kde ! org
[Download RAW message or body]

CVS commit by woebbe: 

Fix BR 72519 (file view):

Don't select hidden files when you select a range of files 
with Shift key. This prevents you from evil accidents (i.e.
"Remove from Repository").

CCMAIL: 72519-done@bugs.kde.org


  M +7 -1      ChangeLog   1.106
  M +3 -2      updateview.cpp   1.54


--- kdesdk/cervisia/ChangeLog  #1.105:1.106
@@ -1,2 +1,9 @@
+2004-01-16  André Wöbbeking  <Woebbeking@web.de>
+
+        * Fix BR 72519 (file view):
+          Don't select hidden files when you select a range of files 
+          with Shift key. This prevents you from evil accidents (i.e.
+          "Remove from Repository").
+
 2003-10-04  Christian Loose  <christian.loose@hamburg.de>
 
@@ -53,5 +60,4 @@
 
         * Fix/Implement FR 56042:
-
           Use the configured colors as foreground colors in the file AND
           protocol view and a bold font to improve readability of the text

--- kdesdk/cervisia/updateview.cpp  #1.53:1.54
@@ -122,4 +122,5 @@ QStringList UpdateView::multipleSelectio
          it.current() != 0; ++it)
     {
+        if ((*it)->isVisible())
         res.append(static_cast<UpdateItem*>(*it)->filePath());
     }
@@ -139,5 +140,5 @@ QStringList UpdateView::fileSelection() 
         QListViewItem* item(*it);
 
-        if (isFileItem(item))
+        if (isFileItem(item) && item->isVisible())
             res.append(static_cast<UpdateFileItem*>(item)->filePath());
     }


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

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