Ref T220, register main widget

This commit is contained in:
Klaus Basan
2018-01-11 03:08:52 +01:00
parent 89bd648021
commit ef25192424
5 changed files with 15 additions and 0 deletions

View File

@@ -72,6 +72,8 @@ SwiftGuiStd::SwiftGuiStd(BlackGui::CEnableForFramelessWindow::WindowMode windowM
ui(new Ui::SwiftGuiStd)
{
// GUI
Q_ASSERT_X(sGui, Q_FUNC_INFO, "Need sGui");
sGui->registerMainApplicationWidget(this);
ui->setupUi(this);
this->setDynamicProperties(windowMode == CEnableForFramelessWindow::WindowFrameless);
this->init();