summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2015-12-14 17:29:01 +0100
committerMaurice Kalinowski <maurice.kalinowski@theqtcompany.com>2015-12-14 16:58:18 +0000
commit58d1304edb82a0a17ee39d259e56b930ca35ffcc (patch)
tree2b7a7c4c5b6a2d9df311337e9d52b7738b2be210
parent75c04a202412440adea7216f65740f9080009b02 (diff)
winrtrunner: Fix warning about unused variable.v5.6.0-beta1
appxphoneengine.cpp(491): warning C4189: 'd': local variable is initialized but not referenced Change-Id: Id3ea2d89c3b7748ce27c127038f95fbcc798db4a Reviewed-by: Maurice Kalinowski <maurice.kalinowski@theqtcompany.com>
-rw-r--r--src/winrtrunner/appxphoneengine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/winrtrunner/appxphoneengine.cpp b/src/winrtrunner/appxphoneengine.cpp
index cdb263f9f..e7cbf6709 100644
--- a/src/winrtrunner/appxphoneengine.cpp
+++ b/src/winrtrunner/appxphoneengine.cpp
@@ -488,13 +488,13 @@ bool AppxPhoneEngine::waitForFinished(int secs)
bool AppxPhoneEngine::stop()
{
- Q_D(AppxPhoneEngine);
qCDebug(lcWinRtRunner) << __FUNCTION__;
if (!connect())
return false;
#if 0 // This does not actually stop the app - QTBUG-41946
+ Q_D(AppxPhoneEngine);
ComPtr<ICcConnection3> connection;
HRESULT hr = d->connection.As(&connection);
RETURN_FALSE_IF_FAILED("Failed to cast connection object");