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

@@ -49,6 +49,8 @@ CSwiftLauncher::CSwiftLauncher(QWidget *parent) :
CIdentifiable(this),
ui(new Ui::CSwiftLauncher)
{
Q_ASSERT_X(sGui, Q_FUNC_INFO, "Need sGui");
sGui->registerMainApplicationWidget(this);
ui->setupUi(this);
this->init();
connect(ui->tb_SwiftCore, &QPushButton::pressed, this, &CSwiftLauncher::startButtonPressed);