Skip to content
Commit 9726f910 authored by Oliver Kellogg's avatar Oliver Kellogg
Browse files

Application of patch suggested in...

Application of patch suggested in https://bugs.kde.org/show_bug.cgi?id=446020#c1 plus minor cleanups

umbrello/umlscene.cpp
- In function addWidgetCmd print debug message showing widget's x and y
  coordinates.
- In function setupNewWidget,
  - remove unneeded parentheses in if-condition testing w->isPinWidget()
    and others;
  - call UMLApp::app()->setCurrentView with activeView() as argument.
- In function dropEvent loop over tidList, on calling setupNewWidget
  provide `true' for argument setPosition.
- At functions selectedCount, setClassWidgetOptions fix minor issues in
  documentation.
- In function resizeSceneToItems, as an experimental change comment out
  call to setSceneRect(itemsBoundingRect()).
  It appears that the function resizeSceneToItems may be removed
  altogether (subject to further tests).

CCBUG: 446020
parent 46f53b02
Pipeline #115912 passed with stage
in 13 minutes and 45 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment