fix(biometric-plugin): The name of the window for changing the password, entering the fingerprint, or renaming the fingerprint is incorrect on the multitasking view page
Description: The name of the window for changing the password, entering the fingerprint, or renaming the fingerprint is incorrect on the multitasking view page Log: 修改密码、录入指纹、重命名指纹窗口在多任务视图页面的窗口名错误 Bug: bug#I73JHD
This commit is contained in:
parent
4869d4dc63
commit
7f20d10ecd
|
@ -262,7 +262,7 @@ QString BiometricsWidget::_accountTypeIntToString(int type){
|
|||
|
||||
void BiometricsWidget::showChangePwdDialog()
|
||||
{
|
||||
ChangeUserPwd dialog(m_user.username);
|
||||
ChangeUserPwd dialog(m_user.username,this);
|
||||
dialog.exec();
|
||||
}
|
||||
|
||||
|
@ -644,7 +644,7 @@ void BiometricsWidget::showEnrollDialog()
|
|||
}
|
||||
}
|
||||
isShowEnrollDialog = true;
|
||||
BiometricEnrollDialog * dialog = new BiometricEnrollDialog(serviceInterface,deviceInfo->deviceType,deviceInfo->id,getuid());
|
||||
BiometricEnrollDialog * dialog = new BiometricEnrollDialog(serviceInterface,deviceInfo->deviceType,deviceInfo->id,getuid(),this);
|
||||
dialog->setAttribute(Qt::WA_DeleteOnClose);
|
||||
//gdxfp显示指纹图片
|
||||
if(deviceInfo->shortName == "gdxfp")
|
||||
|
@ -783,7 +783,7 @@ void BiometricsWidget::addFeature(FeatureInfoPtr &featureinfo)
|
|||
return ;
|
||||
QStringList names = m_biometricProxy->getAllFeaturelist(getuid());
|
||||
//QStringList names = m_biometricProxy->getFeaturelist(deviceInfoPtr->id,getuid());
|
||||
ChangeFeatureName * dialog = new ChangeFeatureName(names);
|
||||
ChangeFeatureName * dialog = new ChangeFeatureName(names,this);
|
||||
|
||||
dialog->setTitle(ui->biometrictypeBox->currentText());
|
||||
connect(dialog, &ChangeFeatureName::sendNewName, [&,this,featureinfo](QString rename){
|
||||
|
|
Loading…
Reference in New Issue