Add UMLScene::getBackgroundColor() as common method to fetch the current scene background color.
This patch helps to avoid a crash caused by UMLScene::activeView() returning zero, which happens while tracking this bug. CCBUG:344975
Showing
- umbrello/umlscene.cpp 11 additions, 0 deletionsumbrello/umlscene.cpp
- umbrello/umlscene.h 2 additions, 0 deletionsumbrello/umlscene.h
- umbrello/widgets/artifactwidget.cpp 1 addition, 1 deletionumbrello/widgets/artifactwidget.cpp
- umbrello/widgets/classifierwidget.cpp 3 additions, 3 deletionsumbrello/widgets/classifierwidget.cpp
- umbrello/widgets/componentwidget.cpp 1 addition, 1 deletionumbrello/widgets/componentwidget.cpp
- umbrello/widgets/datatypewidget.cpp 1 addition, 1 deletionumbrello/widgets/datatypewidget.cpp
- umbrello/widgets/entitywidget.cpp 1 addition, 1 deletionumbrello/widgets/entitywidget.cpp
- umbrello/widgets/enumwidget.cpp 1 addition, 1 deletionumbrello/widgets/enumwidget.cpp
- umbrello/widgets/nodewidget.cpp 1 addition, 1 deletionumbrello/widgets/nodewidget.cpp
- umbrello/widgets/objectwidget.cpp 1 addition, 1 deletionumbrello/widgets/objectwidget.cpp
- umbrello/widgets/packagewidget.cpp 1 addition, 1 deletionumbrello/widgets/packagewidget.cpp
- umbrello/widgets/pinportbase.cpp 1 addition, 1 deletionumbrello/widgets/pinportbase.cpp
Loading
Please register or sign in to comment