forked from qt-creator/qt-creator
ModelEditor: Set white diagram background
This is just a minimal workaround for dark themes. Change-Id: I11de88dd39f24bd4d09a1c955e27a140eaad3850 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
@@ -33,6 +33,7 @@ DiagramGraphicsScene::DiagramGraphicsScene(DiagramSceneModel *diagramSceneModel,
|
||||
: QGraphicsScene(parent),
|
||||
m_diagramSceneModel(diagramSceneModel)
|
||||
{
|
||||
setBackgroundBrush(Qt::white);
|
||||
}
|
||||
|
||||
DiagramGraphicsScene::~DiagramGraphicsScene()
|
||||
|
Reference in New Issue
Block a user