diff options
author | Scott Murray <scott.murray@konsulko.com> | 2023-01-03 01:02:10 -0500 |
---|---|---|
committer | Scott Murray <scott.murray@konsulko.com> | 2023-01-19 00:36:38 +0000 |
commit | aef392d9df8bb5e4ada4b3f8f44016e8a839d154 (patch) | |
tree | 4330f8e97fb2e66f5ec50d7402eac6c5e3cfbeec /app | |
parent | 1e6de65b06429d7250b72cdc4b887d60349c920b (diff) |
Update radio wrapper name
Tweak to handle Radio -> RadioClient name change in libqtappfw-radio.
Bug-AGL: SPEC-4665
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I4ba7192b385028a07a454286f8986a563625c5b2
(cherry picked from commit 6ae60dcb666e95dad881457cea03a7b72d15faf3)
Diffstat (limited to 'app')
-rw-r--r-- | app/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/main.cpp b/app/main.cpp index d7cfd44..7156900 100644 --- a/app/main.cpp +++ b/app/main.cpp @@ -25,7 +25,7 @@ #include <stdlib.h> #include <fcntl.h> #include <sys/stat.h> -#include <radio.h> +#include <RadioClient.h> #include "PresetDataObject.h" #define APP_DATA_PRESETS_PATH "/app-data/radio/presets.conf" @@ -80,7 +80,7 @@ int main(int argc, char *argv[]) QQmlApplicationEngine engine; QQmlContext *context = engine.rootContext(); context->setContextProperty("presetModel", QVariant::fromValue(presetDataList)); - context->setContextProperty("radio", new Radio(context)); + context->setContextProperty("radio", new RadioClient(context)); engine.load(QUrl(QStringLiteral("qrc:/Radio.qml"))); return app.exec(); } |