summaryrefslogtreecommitdiffstats
path: root/src/winrtrunner/runner.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/winrtrunner/runner.cpp')
-rw-r--r--src/winrtrunner/runner.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/winrtrunner/runner.cpp b/src/winrtrunner/runner.cpp
index 9bf6a91b2..5b4725991 100644
--- a/src/winrtrunner/runner.cpp
+++ b/src/winrtrunner/runner.cpp
@@ -43,8 +43,8 @@
#include "runnerengine.h"
-#ifndef RTRUNNER_NO_APPX
-#include "appxengine.h"
+#ifndef RTRUNNER_NO_APPXLOCAL
+#include "appxlocalengine.h"
#endif
#ifndef RTRUNNER_NO_XAP
#include "xapengine.h"
@@ -77,8 +77,8 @@ public:
QMap<QString, QStringList> Runner::deviceNames()
{
QMap<QString, QStringList> deviceNames;
-#ifndef RTRUNNER_NO_APPX
- deviceNames.insert(QStringLiteral("Appx"), AppxEngine::deviceNames());
+#ifndef RTRUNNER_NO_APPXLOCAL
+ deviceNames.insert(QStringLiteral("Appx"), AppxLocalEngine::deviceNames());
#endif
#ifndef RTRUNNER_NO_XAP
deviceNames.insert(QStringLiteral("Xap"), XapEngine::deviceNames());
@@ -98,15 +98,15 @@ Runner::Runner(const QString &app, const QStringList &arguments,
bool deviceIndexKnown;
d->deviceIndex = deviceName.toInt(&deviceIndexKnown);
-#ifndef RTRUNNER_NO_APPX
+#ifndef RTRUNNER_NO_APPXLOCAL
if (!deviceIndexKnown) {
- d->deviceIndex = AppxEngine::deviceNames().indexOf(deviceName);
+ d->deviceIndex = AppxLocalEngine::deviceNames().indexOf(deviceName);
if (d->deviceIndex < 0)
d->deviceIndex = 0;
}
if ((d->profile.isEmpty() || d->profile.toLower() == QStringLiteral("appx"))
- && AppxEngine::canHandle(this)) {
- if (RunnerEngine *engine = AppxEngine::create(this)) {
+ && AppxLocalEngine::canHandle(this)) {
+ if (RunnerEngine *engine = AppxLocalEngine::create(this)) {
d->engine.reset(engine);
d->isValid = true;
qCWarning(lcWinRtRunner) << "Using the Appx profile.";