From 6c4efc1f9ce512f710cecb78a0ef1eea94ed1b17 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Fri, 13 Dec 2019 18:23:01 +0100 Subject: [PATCH] [welcome] Add Branding object to QML demo --- src/modules/welcome/qmlmain.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/modules/welcome/qmlmain.cpp b/src/modules/welcome/qmlmain.cpp index 93017a9c7..96d9d245f 100644 --- a/src/modules/welcome/qmlmain.cpp +++ b/src/modules/welcome/qmlmain.cpp @@ -17,6 +17,7 @@ #include +#include "Branding.h" #include "JobQueue.h" #include "Settings.h" #include "locale/LabelModel.h" @@ -51,6 +52,9 @@ int main(int argc, char **argv) std::unique_ptr< Calamares::Settings > settings_p( new Calamares::Settings( QString(), true ) ); std::unique_ptr< Calamares::JobQueue > jobqueue_p( new Calamares::JobQueue( nullptr ) ); + Calamares::Branding defaultBrand( "src/branding/default/branding.desc" ); + cDebug() << "Branding @" << (void *)Calamares::Branding::instance(); + QMainWindow mw; QWidget background; QVBoxLayout vl;