mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 17:35:34 +08:00
Ref T220, register main widget
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user