X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=app%2Fmain.cpp;h=64f674673999b619e1cc175a0b2d99536be91a1b;hb=refs%2Ftags%2F6.0.5;hp=40dec244de1ec4d61913c28a9deb86c042b1ec0e;hpb=91bbf6d2af85e1a440a889c29ebd8e1c34b17b64;p=apps%2Fmediaplayer.git diff --git a/app/main.cpp b/app/main.cpp index 40dec24..64f6746 100644 --- a/app/main.cpp +++ b/app/main.cpp @@ -29,6 +29,7 @@ #include #include #include +#include #include @@ -99,6 +100,7 @@ int main(int argc, char *argv[]) }); context->setContextProperty("mediaplayer", new Mediaplayer(bindingAddress, context)); + context->setContextProperty("radio", new Radio(bindingAddress, context)); context->setContextProperty(QStringLiteral("screenInfo"), &screenInfo); engine.load(QUrl(QStringLiteral("qrc:/MediaPlayer.qml")));