[welcome] Add Branding object to QML demo
This commit is contained in:
parent
55f61fda35
commit
6c4efc1f9c
@ -17,6 +17,7 @@
|
|||||||
|
|
||||||
#include <KAboutData>
|
#include <KAboutData>
|
||||||
|
|
||||||
|
#include "Branding.h"
|
||||||
#include "JobQueue.h"
|
#include "JobQueue.h"
|
||||||
#include "Settings.h"
|
#include "Settings.h"
|
||||||
#include "locale/LabelModel.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::Settings > settings_p( new Calamares::Settings( QString(), true ) );
|
||||||
std::unique_ptr< Calamares::JobQueue > jobqueue_p( new Calamares::JobQueue( nullptr ) );
|
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;
|
QMainWindow mw;
|
||||||
QWidget background;
|
QWidget background;
|
||||||
QVBoxLayout vl;
|
QVBoxLayout vl;
|
||||||
|
Loading…
Reference in New Issue
Block a user