[welcome] Create branding and settings objects
This commit is contained in:
parent
03ed308bd9
commit
55f61fda35
@ -2,6 +2,8 @@
|
|||||||
* models from libcalamares for displaying a welcome.
|
* models from libcalamares for displaying a welcome.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <memory>
|
||||||
|
|
||||||
#include <QApplication>
|
#include <QApplication>
|
||||||
#include <QLabel>
|
#include <QLabel>
|
||||||
#include <QMainWindow>
|
#include <QMainWindow>
|
||||||
@ -15,6 +17,8 @@
|
|||||||
|
|
||||||
#include <KAboutData>
|
#include <KAboutData>
|
||||||
|
|
||||||
|
#include "JobQueue.h"
|
||||||
|
#include "Settings.h"
|
||||||
#include "locale/LabelModel.h"
|
#include "locale/LabelModel.h"
|
||||||
#include "utils/Logger.h"
|
#include "utils/Logger.h"
|
||||||
|
|
||||||
@ -44,6 +48,9 @@ int main(int argc, char **argv)
|
|||||||
|
|
||||||
Logger::setupLogLevel( Logger::LOGVERBOSE );
|
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;
|
QMainWindow mw;
|
||||||
QWidget background;
|
QWidget background;
|
||||||
QVBoxLayout vl;
|
QVBoxLayout vl;
|
||||||
|
Loading…
Reference in New Issue
Block a user