Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit ff3c0b71 authored by Ralf Habacker's avatar Ralf Habacker

Remove obsolate UMLScene* variable in UMLScene constructor.

parent b2c94b00
......@@ -37,10 +37,7 @@ UMLView::UMLView(UMLFolder *parentFolder)
setAcceptDrops(true);
setRenderHints(QPainter::Antialiasing | QPainter::SmoothPixmapTransform);
setDragMode(NoDrag); //:TODO: RubberBandDrag);
// [PORT] For now the following is used. Shd check for creation of
// new scene later.
UMLScene *scene = new UMLScene(parentFolder, this);
setScene(scene);
setScene(new UMLScene(parentFolder, this));
}
/**
......
Markdown is supported
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