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> </widget>
</item> </item>
<item> <item>
<widget class="QLineEdit" name="loginPassword"> <widget class="PasswordEdit" name="loginPassword"/>
<property name="echoMode">
<enum>QLineEdit::Password</enum>
</property>
</widget>
</item> </item>
<item> <item>
<widget class="QCheckBox" name="autoLoginCB"> <widget class="QCheckBox" name="autoLoginCB">

View File

@ -43,18 +43,10 @@
</widget> </widget>
</item> </item>
<item row="4" column="1"> <item row="4" column="1">
<widget class="QLineEdit" name="repasswordlineEdit"> <widget class="PasswordEdit" name="repasswordlineEdit"/>
<property name="echoMode">
<enum>QLineEdit::Password</enum>
</property>
</widget>
</item> </item>
<item row="2" column="1"> <item row="2" column="1">
<widget class="QLineEdit" name="passwordlineEdit"> <widget class="PasswordEdit" name="passwordlineEdit"/>
<property name="echoMode">
<enum>QLineEdit::Password</enum>
</property>
</widget>
</item> </item>
<item row="6" column="0" colspan="2"> <item row="6" column="0" colspan="2">
<widget class="QProgressBar" name="passStrengthMeter"> <widget class="QProgressBar" name="passStrengthMeter">
@ -96,6 +88,13 @@
</item> </item>
</layout> </layout>
</widget> </widget>
<customwidgets>
<customwidget>
<class>PasswordEdit</class>
<extends>QLineEdit</extends>
<header>src/widget/passwordedit.h</header>
</customwidget>
</customwidgets>
<tabstops> <tabstops>
<tabstop>passwordlineEdit</tabstop> <tabstop>passwordlineEdit</tabstop>
<tabstop>repasswordlineEdit</tabstop> <tabstop>repasswordlineEdit</tabstop>