mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 21:15:33 +08:00
* added update timer for simulated aircraft * in same step streamlined handling of CUpdateTimer
This commit is contained in:
@@ -26,12 +26,11 @@ namespace BlackGui
|
||||
QTabWidget(parent),
|
||||
CEnableForDockWidgetInfoArea(),
|
||||
CEnableForRuntime(nullptr, false),
|
||||
ui(new Ui::CUserComponent), m_updateTimer(nullptr)
|
||||
ui(new Ui::CUserComponent),
|
||||
m_updateTimer(new CUpdateTimer("CUserComponent", &CUserComponent::update, this))
|
||||
{
|
||||
ui->setupUi(this);
|
||||
this->tabBar()->setExpanding(false);
|
||||
this->m_updateTimer = new CUpdateTimer(&CUserComponent::update, this);
|
||||
|
||||
connect(this->ui->tvp_AllUsers, &CUserView::rowCountChanged, this, &CUserComponent::ps_onCountChanged);
|
||||
connect(this->ui->tvp_Clients, &CClientView::rowCountChanged, this, &CUserComponent::ps_onCountChanged);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user