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

List:       kde-commits
Subject:    playground/base/plasma/containments/groupingdesktop/lib
From:       Giulio Camuffo <giuliocamuffo () gmail ! com>
Date:       2010-06-29 13:18:02
Message-ID: 20100629131802.AC137AC8E0 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1144180 by camuffo:

don't show the dropzone where it won't create the applet dropped


 M  +1 -1      stackinggroup.cpp  


--- trunk/playground/base/plasma/containments/groupingdesktop/lib/stackinggroup.cpp #1144179:1144180
@@ -194,7 +194,7 @@
         m_children.removeOne(m_spacer);
     }
 
-    if (pos.isNull()) {
+    if (pos.isNull() || (!m_children.isEmpty() && boundingRect().translated(20, 20).contains(pos))) {
         m_spacer->hide();
         return;
     } else {
[prev in list] [next in list] [prev in thread] [next in thread] 

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