summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Wolff <oliver.wolff@qt.io>2017-07-19 15:11:40 +0200
committerOliver Wolff <oliver.wolff@qt.io>2017-07-20 09:12:24 +0000
commitb307d12957422f9b8118dead4cc1dfe72bbdbf29 (patch)
treeac59f2c140dc44bda64e3030cbb6b058794a8a81
parent181e45964dda281c456db3d3315d53782f918962 (diff)
downloadqttools-b307d12957422f9b8118dead4cc1dfe72bbdbf29.tar.gz
winrtrunner: print verbose error after failed deployment operation
Just remove an early return in the case that the deployment operation was not successful. Printing out the verbose error message was already implemented. Task-number: QTBUG-61441 Change-Id: I54f22879ec84f4a984af49c9e43e4f9e88732d6e Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
-rw-r--r--src/winrtrunner/appxlocalengine.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/winrtrunner/appxlocalengine.cpp b/src/winrtrunner/appxlocalengine.cpp
index 3c89d715c..a3bee8bc7 100644
--- a/src/winrtrunner/appxlocalengine.cpp
+++ b/src/winrtrunner/appxlocalengine.cpp
@@ -412,18 +412,6 @@ bool AppxLocalEngine::installPackage(IAppxManifestReader *reader, const QString
return false;
}
- ComPtr<IAsyncInfo> asyncInfo;
- hr = deploymentOperation.As(&asyncInfo);
- RETURN_FALSE_IF_FAILED("Failed to cast deployment operation to info.");
- AsyncStatus status;
- hr = asyncInfo->get_Status(&status);
- RETURN_FALSE_IF_FAILED("Failed to retrieve deployment operation's status.");
-
- if (status != Completed) {
- qCWarning(lcWinRtRunner) << "Deployment operation did not succeed.";
- return false;
- }
-
ComPtr<IDeploymentResult> results;
hr = deploymentOperation->GetResults(&results);
RETURN_FALSE_IF_FAILED("Failed to retrieve package registration results.");