[Uml-devel] kdesdk/umbrello

Oliver Kellogg okellogg at users.sourceforge.net
Sat Apr 16 08:17:13 UTC 2005


CVS commit by okellogg: 

BUG:101541 - onWidget():
Fix to {top,bottom}ArrowY brings on the properties dialog upon double clicking.


  M +4 -1      ChangeLog   1.75
  M +3 -3      umbrello/messagewidget.cpp   1.71


--- kdesdk/umbrello/ChangeLog  #1.74:1.75
@@ -2,8 +2,10 @@
 
 * Externalization of folders (i.e. submodel files)
-  http://bugs.kde.org/87252
 
+* Bugs fixed / wishes implemented (see http://bugs.kde.org)
+87252 
 
 Version 1.4.1 (maintenance release)
+
 Bugs fixed:
 * Crash on deleting attributes / enum literals
@@ -11,4 +13,5 @@
 * Bugs from http://bugs.kde.org :
 53376 57667 57875 95353 100290 100307 101148 103123 103133 103728
+101541
 
 Version 1.4

--- kdesdk/umbrello/umbrello/messagewidget.cpp  #1.70:1.71
@@ -266,8 +266,8 @@ bool MessageWidget::onWidget(const QPoin
         if (p.x() < getX() || p.x() > getX() + getWidth())
                 return false;
-        const int tolerance = 4;  // pixels
+        const int tolerance = 5;  // pixels
         const int pY = p.y();
-        const int topArrowY = getY();
-        const int bottomArrowY = topArrowY + getHeight();
+        const int topArrowY = getY() + 3;
+        const int bottomArrowY = getY() + getHeight() - 3;
         if (pY < topArrowY - tolerance || pY > bottomArrowY + tolerance)
                 return false;






More information about the umbrello-devel mailing list