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

List:       kde-bugs-dist
Subject:    [Bug 82024] Multiple folders on root level are possible (and not
From:       Sandro Giessl <sandro () giessl ! com>
Date:       2004-07-01 21:39:02
Message-ID: 20040701213902.31459.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
      
http://bugs.kde.org/show_bug.cgi?id=82024      
sandro giessl com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From sandro giessl com  2004-07-01 23:38 -------
CVS commit by giessl: 

CCMAIL: 82024-done bugs kde org


  M +6 -0      ChangeLog   1.44
  M +10 -0     src/feedstree.cpp   1.18


--- kdenonbeta/akregator/ChangeLog  #1.43:1.44
 @ -3,4 +3,10  @
 (c) 2004 the aKregator authors.
 
+Changes after 1.0b4:
+-----------------------------
+
+Bug Fixes:
+#82024 - Fix drag&drop regression which made it possible have multiple top level folders -sg
+
 Changes after 1.0b3:
 -----------------------------

--- kdenonbeta/akregator/src/feedstree.cpp  #1.17:1.18
 @ -202,4 +202,14  @ void FeedsTree::slotDropped( QDropEvent 
         return;
 
+    // disable any drops where the result would be top level nodes
+    QListViewItem *afterme;
+    QListViewItem *parent;
+    findDrop( e->pos(), parent, afterme );
+    if (!parent)
+    {
+        e->ignore();
+        return;
+    }
+
     if (e->source() != viewport())
     {
[prev in list] [next in list] [prev in thread] [next in thread] 

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