summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2023-01-03 01:02:10 -0500
committerScott Murray <scott.murray@konsulko.com>2023-01-03 01:03:05 -0500
commit6ae60dcb666e95dad881457cea03a7b72d15faf3 (patch)
treee7181231db000784a6c9523645311a3253d5d9ca
parentcacb72ea5488e770be911eb975e4b7741d242814 (diff)
Update radio wrapper nameneedlefish
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
-rw-r--r--app/main.cpp4
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();
}