Commit a13b84e3 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇

Use KPasswordLineEdit

Differential Revision: https://phabricator.kde.org/D17207
parent 4f2c8ba5
......@@ -303,7 +303,7 @@ void AuthDialog::checkSelectedUser()
QString AuthDialog::password() const
{
return lePassword->text();
return lePassword->password();
}
void AuthDialog::authenticationFailure()
......
......@@ -23,13 +23,7 @@
<number>6</number>
</property>
<item row="3" column="2">
<widget class="QLineEdit" name="lePassword">
<property name="echoMode">
<enum>QLineEdit::Password</enum>
</property>
<property name="passwordMode" stdset="0">
<bool>false</bool>
</property>
<widget class="KPasswordLineEdit" name="lePassword">
</widget>
</item>
<item row="0" column="1" colspan="2">
......@@ -178,6 +172,11 @@
<extends>QFrame</extends>
<header>kmessagewidget.h</header>
</customwidget>
<customwidget>
<class>KPasswordLineEdit</class>
<extends>QWidget</extends>
<header>kpasswordlineedit.h</header>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>userCB</tabstop>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment