mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
Use a non-obsolete constructor for KPasswordDialog.
svn path=/trunk/kdeutils/kdepasswd/; revision=218352
This commit is contained in:
parent
761195924f
commit
073fbf63ef
1 changed files with 2 additions and 2 deletions
|
@ -73,7 +73,7 @@ int KDEpasswd1Dialog::getPassword(QCString &password, QCString user)
|
|||
|
||||
|
||||
KDEpasswd2Dialog::KDEpasswd2Dialog(const char *oldpass, QCString user)
|
||||
: KPasswordDialog(NewPassword, "")
|
||||
: KPasswordDialog(NewPassword, false, 0)
|
||||
{
|
||||
m_Pass = oldpass;
|
||||
m_User = user;
|
||||
|
@ -103,7 +103,7 @@ bool KDEpasswd2Dialog::checkPassword(const char *password)
|
|||
i18n("Use as is"),
|
||||
"truncatePassword"))
|
||||
{
|
||||
case KMessageBox::Yes :
|
||||
case KMessageBox::Yes :
|
||||
const_cast<char *>(password)[8] = '\000';
|
||||
break;
|
||||
case KMessageBox::No :
|
||||
|
|
Loading…
Reference in a new issue