diff options
author | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2017-05-09 04:03:17 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@automotivelinux.org> | 2017-05-09 04:03:17 +0000 |
commit | 583a1da88bfc703bad7568d182a99cf4ead8b65b (patch) | |
tree | b9e40b5d5a25e91b3ed708754a307f7f10c645da | |
parent | ba39b5e73165886e9739d23f97f7df842ae7d7e1 (diff) | |
parent | 4732e15d514370f1417f8202c721b60af545b892 (diff) |
Merge "qml: QML wouldn't load if there isn't DBUS support builtin"dab_3.99.1dab/3.99.13.99.1
-rw-r--r-- | app/main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/main.cpp b/app/main.cpp index a8c32d7..8ad7b7f 100644 --- a/app/main.cpp +++ b/app/main.cpp @@ -90,8 +90,11 @@ int main(int argc, char *argv[]) #if defined(HAVE_DBUS) DbusService dbus_service; context->setContextProperty("dbus", &dbus_service); +#endif engine.load(QUrl(QStringLiteral("qrc:/MediaPlayer.qml"))); + +#if defined(HAVE_DBUS) #if defined(HAVE_LIGHTMEDIASCANNER) if (!dbus_service.enableLMS()) qWarning() << "Cannot run enableLMS"; |