Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Commit

Permalink
fix(passwordfields): use PasswordEdit widget for all password fields
Browse files Browse the repository at this point in the history
Fixes #3378.
  • Loading branch information
b4n committed Jun 17, 2016
1 parent 5f34a95 commit e3d0cc0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 15 deletions.
6 changes: 1 addition & 5 deletions src/loginscreen.ui
Original file line number Diff line number Diff line change
Expand Up @@ -294,11 +294,7 @@
</widget>
</item>
<item>
<widget class="QLineEdit" name="loginPassword">
<property name="echoMode">
<enum>QLineEdit::Password</enum>
</property>
</widget>
<widget class="PasswordEdit" name="loginPassword"/>
</item>
<item>
<widget class="QCheckBox" name="autoLoginCB">
Expand Down
19 changes: 9 additions & 10 deletions src/widget/form/setpassworddialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,10 @@
</widget>
</item>
<item row="4" column="1">
<widget class="QLineEdit" name="repasswordlineEdit">
<property name="echoMode">
<enum>QLineEdit::Password</enum>
</property>
</widget>
<widget class="PasswordEdit" name="repasswordlineEdit"/>
</item>
<item row="2" column="1">
<widget class="QLineEdit" name="passwordlineEdit">
<property name="echoMode">
<enum>QLineEdit::Password</enum>
</property>
</widget>
<widget class="PasswordEdit" name="passwordlineEdit"/>
</item>
<item row="6" column="0" colspan="2">
<widget class="QProgressBar" name="passStrengthMeter">
Expand Down Expand Up @@ -96,6 +88,13 @@
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>PasswordEdit</class>
<extends>QLineEdit</extends>
<header>src/widget/passwordedit.h</header>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>passwordlineEdit</tabstop>
<tabstop>repasswordlineEdit</tabstop>
Expand Down

0 comments on commit e3d0cc0

Please sign in to comment.