summaryrefslogtreecommitdiffstats
path: root/app/main.cpp
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2019-04-03 00:07:17 -0700
committerMatt Ranostay <matt.ranostay@konsulko.com>2019-04-03 00:07:17 -0700
commit4fa86758b0ba480db1f7a41489ce2cf2b3c14691 (patch)
treeed3074a15915aaac970408e84405e7664d4b1a95 /app/main.cpp
parent3bb70f35d407595417ee86b24041b2d8bfca4d83 (diff)
mediaplayer: qml: remove undefined reference warning for AlbumArt
Since AlbumArt isn't always available for first track or available on initial startup it should be blanked first Change-Id: I0b626fcf0fbe09f302f5b35d179d4214ac0a0f7d Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'app/main.cpp')
-rw-r--r--app/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/main.cpp b/app/main.cpp
index c5527a8..e40cf98 100644
--- a/app/main.cpp
+++ b/app/main.cpp
@@ -90,6 +90,7 @@ int main(int argc, char *argv[])
qwm->activateWindow(graphic_role);
});
+ context->setContextProperty("AlbumArt", "");
context->setContextProperty("mediaplayer", new Mediaplayer(bindingAddress, context));
context->setContextProperty(QStringLiteral("screenInfo"), &screenInfo);