Skip to content
Snippets Groups Projects
Commit b8592f1b authored by Marco Bubke's avatar Marco Bubke
Browse files

QmlDesigner.NodeInstances: Remove unused code

Change-Id: Ibf585ef6f821f73be16888fea550bfe0e0b1bcd6
Reviewed-on: http://codereview.qt.nokia.com/3969


Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@nokia.com>
parent ebf7c687
No related branches found
No related tags found
No related merge requests found
......@@ -91,8 +91,6 @@ QDeclarativeEngine *Qt5NodeInstanceServer::engine() const
void Qt5NodeInstanceServer::resizeCanvasSizeToRootItemSize()
{
if (sgView())
sgView()->resize(rootNodeInstance().size().toSize());
}
void Qt5NodeInstanceServer::resetAllItems()
......
......@@ -78,8 +78,6 @@ void Qt5RenderNodeInstanceServer::collectItemChangesAndSendChangeCommands()
if (!inFunction) {
inFunction = true;
bool adjustSceneRect = false;
if (sgView()) {
foreach (QSGItem *item, allItems()) {
if (item && hasInstanceForObject(item)) {
......@@ -97,12 +95,6 @@ void Qt5RenderNodeInstanceServer::collectItemChangesAndSendChangeCommands()
}
resetAllItems();
// if (adjustSceneRect) {
// QRectF boundingRect = rootNodeInstance().boundingRect();
// if (boundingRect.isValid()) {
// declarativeView()->setSceneRect(boundingRect);
// }
// }
slowDownRenderTimer();
nodeInstanceClient()->flush();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment