标准用户适配改造

This commit is contained in:
zhaominyong 2022-05-12 16:58:35 +08:00
parent c97e41b8a7
commit dc2da1a745
1 changed files with 2 additions and 1 deletions

View File

@ -96,7 +96,8 @@ void LeftsiderbarWidget::initUi()
} }
connect(m_navigationBar->listview(), &QListView::clicked, [=](const QModelIndex &index) { connect(m_navigationBar->listview(), &QListView::clicked, [=](const QModelIndex &index) {
int row = index.row(); int row = index.row();
emit this->selected(this->m_functypeToIdx.value(row)); int type = this->m_idxToFunctype.value(row);
emit this->selected(type);
}); });
connect(GlobelBackupInfo::inst().getGlobalSignals(), &GlobalSignals::busy, this, [=](bool isBusy) { connect(GlobelBackupInfo::inst().getGlobalSignals(), &GlobalSignals::busy, this, [=](bool isBusy) {