[welcome] Add Branding object to QML demo

This commit is contained in:
Adriaan de Groot 2019-12-13 18:23:01 +01:00
parent 55f61fda35
commit 6c4efc1f9c

View File

@ -17,6 +17,7 @@
#include <KAboutData>
#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;