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:
parent
5f34a959fc
commit
e3d0cc0e55
|
@ -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">
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user