1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

fix(passwordfields): use PasswordEdit widget for all password fields

Fixes #3378.
This commit is contained in:
Colomban Wendling 2016-06-17 20:48:48 +02:00
parent 5f34a959fc
commit e3d0cc0e55
2 changed files with 10 additions and 15 deletions

View File

@ -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">

View File

@ -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">
@ -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>