[welcome] Create branding and settings objects

This commit is contained in:
Adriaan de Groot 2019-12-13 18:18:02 +01:00
parent 03ed308bd9
commit 55f61fda35

View File

@ -2,6 +2,8 @@
* models from libcalamares for displaying a welcome.
*/
#include <memory>
#include <QApplication>
#include <QLabel>
#include <QMainWindow>
@ -15,6 +17,8 @@
#include <KAboutData>
#include "JobQueue.h"
#include "Settings.h"
#include "locale/LabelModel.h"
#include "utils/Logger.h"
@ -44,6 +48,9 @@ int main(int argc, char **argv)
Logger::setupLogLevel( Logger::LOGVERBOSE );
std::unique_ptr< Calamares::Settings > settings_p( new Calamares::Settings( QString(), true ) );
std::unique_ptr< Calamares::JobQueue > jobqueue_p( new Calamares::JobQueue( nullptr ) );
QMainWindow mw;
QWidget background;
QVBoxLayout vl;