Skip to content

Commit

Permalink
完善修改信息功能
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander-Porter committed Jul 10, 2024
1 parent 2b79de2 commit d4a74e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -310,9 +310,9 @@ void MainWindow::onModifyInfo(User user)
{
//CurrentUser=new User(user);
_userinfopage->currentUser=CurrentUser;
qDebug() << user.getEmail() << " " << user.gethashedPassword();

db->updateUserInfo(user.getEmail(),_userinfopage->newPasswordEdit_->text());
qDebug() << user.getEmail() << " " << db->getUserPassword(user.getEmail());

setUserInfoCardTitle(_userinfopage->newIdEdit_->text());
setUserInfoCardSubTitle(user.getEmail());

Expand Down

0 comments on commit d4a74e6

Please sign in to comment.