[umbrello] [Bug 449393] XMI load in git version fails
"Oliver Kellogg" <[email protected]>
| Newsgroups | gmane.linux.umbrello.devel |
|---|---|
| Message-ID | <[email protected]/> |
https://bugs.kde.org/show_bug.cgi?id=449393 --- Comment #6 from Oliver Kellogg <[email protected]> --- Git commit fdbc8b6a972923e5f21e77c66a6630b97dbf3501 by Oliver Kellogg. Committed on 10/02/2022 at 19:43. Pushed by okellogg into branch 'master'. https://bugs.kde.org/show_bug.cgi?id=449393#c5 followup to commit 6085771 > "Fixed" just means that checks were added to refuse to set rogue x/y > coordinate value on widgets. umbrello/umlscene.{h,cpp} - Change the impl local static const maxCanvasSize to class level static s_maxCanvasSize. - Add getter maxCanvasSize() returning s_maxCanvasSize. umbrello/umlwidgets/umlwidget.cpp - In functions setX and setY, if the argument is below -maxCanvasSize() or above maxCanvasSize() then log an error and do not change the widget coordinate. M +5 -5 umbrello/umlscene.cpp M +4 -1 umbrello/umlscene.h M +8 -2 umbrello/umlwidgets/umlwidget.cpp https://invent.kde.org/sdk/umbrello/commit/fdbc8b6a972923e5f21e77c66a6630b97dbf3501 -- You are receiving this mail because: You are the assignee for the bug.