mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
Make it really work, using password() does not work until you call accept().
Patch by "leo peng" <leo1295@gmail.com> svn path=/trunk/KDE/kdebase/apps/; revision=883957
This commit is contained in:
parent
88d1544f07
commit
93da01cbe2
1 changed files with 4 additions and 1 deletions
|
@ -115,7 +115,10 @@ void KDEpasswd2Dialog::accept()
|
|||
{
|
||||
PasswdProcess proc(m_User);
|
||||
|
||||
QString p=password();
|
||||
QString p;
|
||||
if(!checkAndGetPassword(&p)){
|
||||
return;
|
||||
}
|
||||
|
||||
if (p.length() > 8)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue