summaryrefslogtreecommitdiffstats
path: root/app/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'app/main.cpp')
-rw-r--r--app/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/main.cpp b/app/main.cpp
index dd84f59..a8c32d7 100644
--- a/app/main.cpp
+++ b/app/main.cpp
@@ -90,6 +90,8 @@ int main(int argc, char *argv[])
#if defined(HAVE_DBUS)
DbusService dbus_service;
context->setContextProperty("dbus", &dbus_service);
+
+ engine.load(QUrl(QStringLiteral("qrc:/MediaPlayer.qml")));
#if defined(HAVE_LIGHTMEDIASCANNER)
if (!dbus_service.enableLMS())
qWarning() << "Cannot run enableLMS";
@@ -97,7 +99,6 @@ int main(int argc, char *argv[])
if (!dbus_service.enableBluetooth())
qWarning() << "Cannot run enableBluetooth";
#endif
- engine.load(QUrl(QStringLiteral("qrc:/MediaPlayer.qml")));
return app.exec();
}