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

Changes for avoiding access to UMLApp `this` pointer before end of its construction:

umbrello/uml.{h,cpp}
- Factor heavy weight initializations from constructor to new public
  function setup() to be called immediately after construction.
- Change initStatusBar() local variable defaultZoomWdg into UMLApp
  member m_defaultZoomWdg.

umbrello/main.cpp
- In main program case !app.isSessionRestored() call uml->setup() after
  allocating new UMLApp() to uml.
parent dab58a42
Pipeline #203588 failed with stage
in 55 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