Commit 0cbb78e4 authored by Jake Petroules's avatar Jake Petroules Committed by Christian Kandeler

Fix build

Amends 5e6ff555

Change-Id: Iab56b5d06335ce916cd9381ea7ea58c4f8759116
Reviewed-by: Christian Kandeler's avatarChristian Kandeler <christian.kandeler@qt.io>
Reviewed-by: Oliver Wolff's avatarOliver Wolff <oliver.wolff@qt.io>
parent dc8cbfa4
......@@ -183,14 +183,10 @@ void WinRtRunnerHelper::startWinRtRunner(const RunConf &conf)
break;
}
switch (m_device->type()) {
case Constants::WINRT_DEVICE_TYPE_LOCAL:
if (m_device->type() == Constants::WINRT_DEVICE_TYPE_LOCAL)
QtcProcess::addArgs(&runnerArgs, QStringLiteral("--profile appx"));
break;
case Constants::WINRT_DEVICE_TYPE_PHONE:
else if (m_device->type() == Constants::WINRT_DEVICE_TYPE_PHONE)
QtcProcess::addArgs(&runnerArgs, QStringLiteral("--profile appxphone"));
break;
}
QtcProcess::addArg(&runnerArgs, m_executableFilePath);
if (!m_arguments.isEmpty())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment