Update UserOperationLog in AccountFormDialog.

This commit is contained in:
sunwen
2023-09-05 16:35:34 +08:00
parent 52afb39997
commit 292161f448

View File

@@ -156,7 +156,7 @@ void AccountFormDialog::addSelfModeUI(QHBoxLayout* hlayout)
hlayout->addWidget(btnLogout);
connect(btnLogout, &QAbstractButton::clicked, [=]() {
accept();
LOG_USER_OPERATION(Logout)
LOG_USER_OPERATION("Logout")
EventCenter::Default()->triggerEvent(RequestLogin, nullptr, nullptr);
});
// load current user data
@@ -201,7 +201,7 @@ bool AccountFormDialog::updateReferenceData()
if (ret)
{
hideWarn();
LOG_USER_OPERATION(ChangeUserName)
LOG_USER_OPERATION("Change User Name")
}
else
{
@@ -228,7 +228,7 @@ bool AccountFormDialog::updateReferenceData()
bool ret = user.submitChange();
if (ret)
{
LOG_USER_OPERATION(AdminChangeAcountInformation)
LOG_USER_OPERATION("Admin Change Acount Information")
}
return ret;
}