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:
Albert Astals Cid 2008-11-13 22:14:40 +00:00
parent 88d1544f07
commit 93da01cbe2

View file

@ -115,7 +115,10 @@ void KDEpasswd2Dialog::accept()
{
PasswdProcess proc(m_User);
QString p=password();
QString p;
if(!checkAndGetPassword(&p)){
return;
}
if (p.length() > 8)
{