mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJClient.git
synced 2026-03-28 05:25:39 +03:00
ref: change initialize logic
*complete without change animation
This commit is contained in:
21
bootstrap.cpp
Normal file
21
bootstrap.cpp
Normal file
@@ -0,0 +1,21 @@
|
||||
#include "bootstrap.h"
|
||||
|
||||
Bootstrap::Bootstrap(QObject *parent) : QObject(parent)
|
||||
{
|
||||
widgetManager = new WidgetManager;
|
||||
coreManager = new CoreManager;
|
||||
workerThread = new QThread;
|
||||
animationThread = new QThread;
|
||||
}
|
||||
|
||||
void Bootstrap::initialize()
|
||||
{
|
||||
qRegisterMetaType<PacketType>("PacketType");
|
||||
|
||||
widgetManager->initialize();
|
||||
coreManager->initialize(widgetManager, workerThread);
|
||||
|
||||
widgetManager->start();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user