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

List:       kde-commits
Subject:    KDE/kdeplasma-addons/containments/groupingdesktop/lib/groups
From:       Giulio Camuffo <giuliocamuffo () gmail ! com>
Date:       2010-11-30 17:39:19
Message-ID: 20101130173919.E64D0AC8A3 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1202393 by camuffo:

make sure the children stay completely inside the contentsRect()


 M  +1 -0      gridgroup.cpp  


--- trunk/KDE/kdeplasma-addons/containments/groupingdesktop/lib/groups/gridgroup.cpp #1202392:1202393
@@ -246,6 +246,7 @@
     cols = (cols > 0 ? cols : 1);
 
     i = (i < 0 ? 0 : i);
+    j = (j < 0 ? 0 : j);
     QGraphicsWidget *w = childAt(i, j);
     //find the nearest hole in which the child can be put
     if (w && w != child) {
[prev in list] [next in list] [prev in thread] [next in thread] 

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