[umbrello] [Bug 373249] Ports on components are not aligned at component border

Ralf Habacker bugzilla_noreply at kde.org
Mon Dec 19 17:36:04 UTC 2016


https://bugs.kde.org/show_bug.cgi?id=373249

--- Comment #11 from Ralf Habacker <ralf.habacker at freenet.de> ---
Comment on attachment 102835
  --> https://bugs.kde.org/attachment.cgi?id=102835
Fix placement of Port when resizing parent.

I applied this patch to recent git master and tried to compile, which fails
with the following errors:

/home/xxx/src/umbrello-master/umbrello/umlwidgets/childwidgetplacementport.cpp:49:22:
error: assignment of read-only variable ‘newY’
                 newY = minY();
                      ^
/home/xxx/src/umbrello-master/umbrello/umlwidgets/childwidgetplacementport.cpp:63:22:
error: assignment of read-only variable ‘newY’
                 newY = maxY();
                      ^
/home/xxx/src/umbrello-master/umbrello/umlwidgets/childwidgetplacementport.cpp:77:22:
error: assignment of read-only variable ‘newX’
                 newX = minX();
                      ^
/home/xxx/src/umbrello-master/umbrello/umlwidgets/childwidgetplacementport.cpp:91:22:
error: assignment of read-only variable ‘newX’
                 newX = maxX();
                      ^
/home/xxx/src/umbrello-master/umbrello/umlwidgets/childwidgetplacementport.cpp:100:22:
error: assignment of read-only variable ‘newY’
                 newY = minY();
                      ^
/home/xxx/src/umbrello-master/umbrello/umlwidgets/childwidgetplacementport.cpp:104:22:
error: assignment of read-only variable ‘newX’
                 newX = minX();
                      ^
/home/xxx/src/umbrello-master/umbrello/umlwidgets/childwidgetplacementport.cpp:113:22:
error: assignment of read-only variable ‘newY’
                 newY = minY();
                      ^
/home/xxx/src/umbrello-master/umbrello/umlwidgets/childwidgetplacementport.cpp:117:22:
error: assignment of read-only variable ‘newX’
                 newX = maxX();
                      ^
/home/xxx/src/umbrello-master/umbrello/umlwidgets/childwidgetplacementport.cpp:126:22:
error: assignment of read-only variable ‘newY’
                 newY = maxY();
                      ^
/home/xxx/src/umbrello-master/umbrello/umlwidgets/childwidgetplacementport.cpp:130:22:
error: assignment of read-only variable ‘newX’
                 newX = maxX();
                      ^
/home/xxx/src/umbrello-master/umbrello/umlwidgets/childwidgetplacementport.cpp:139:22:
error: assignment of read-only variable ‘newY’
                 newY = maxY();
                      ^
/home/xxx/src/umbrello-master/umbrello/umlwidgets/childwidgetplacementport.cpp:143:22:
error: assignment of read-only variable ‘newX’
                 newX = minX();
                      ^

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the umbrello-devel mailing list