Skip to content

Commit b716736

Browse files
deepin-ci-robotmhduiy
authored andcommitted
sync: from linuxdeepin/dde-session-shell
Synchronize source files from linuxdeepin/dde-session-shell. Source-pull-request: linuxdeepin/dde-session-shell#52
1 parent 2909bc6 commit b716736

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/session-widgets/auth_password.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ AuthPassword::AuthPassword(QWidget *parent)
7575

7676
AuthPassword::~AuthPassword()
7777
{
78+
// QWidget析构时会clearFocus, focusChanged会被触发,且槽函数操作了成员变量会导致崩溃,在这里提前断开连接
79+
m_lineEdit->disconnect(this);
7880
if (m_resetPasswordMessageVisible) {
7981
closeResetPasswordMessage();
8082
}

0 commit comments

Comments
 (0)