diff options
author | Christian Stenger <christian.stenger@qt.io> | 2019-11-01 14:13:07 +0100 |
---|---|---|
committer | Christian Stenger <christian.stenger@qt.io> | 2019-11-04 05:45:35 +0000 |
commit | 37d378f479d36e9b388af0fddd72490bf2b67f41 (patch) | |
tree | cb65888902a8e967ec90ebf60de86cc14a40aef1 | |
parent | 66e146314a430f44a08b70e153bd4fa2a0e2352c (diff) | |
download | qt-creator-37d378f479d36e9b388af0fddd72490bf2b67f41.tar.gz |
QmlDesigner: Fix warning for unused variable
Amends e2e18ff625c.
Change-Id: I4cae1131a8b7b46c3c11779df0926786debc4e0b
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
-rw-r--r-- | src/plugins/qmldesigner/designercore/instances/puppetcreator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmldesigner/designercore/instances/puppetcreator.cpp b/src/plugins/qmldesigner/designercore/instances/puppetcreator.cpp index adf962c2cc..e40db1872e 100644 --- a/src/plugins/qmldesigner/designercore/instances/puppetcreator.cpp +++ b/src/plugins/qmldesigner/designercore/instances/puppetcreator.cpp @@ -460,8 +460,8 @@ QProcessEnvironment PuppetCreator::processEnvironment() const environment.set("QMLDESIGNER_RC_PATHS", m_qrcMapping); } - AbstractView *view = nullptr; #ifndef QMLDESIGNER_TEST + AbstractView *view = nullptr; view = QmlDesignerPlugin::instance()->viewManager().nodeInstanceView(); view->emitCustomNotification("PuppetStatus", {}, {QVariant(m_qrcMapping)}); |