summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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");