Align generator logic and UI for math symbols

In the password generator widget, the checkable push button for the math
symbols is missing the GREATER-THAN SIGN (U+003E), even though it is
among the possible characters during password generation when the button
is checked. Add the missing character to the text displayed to users.

While at it, also fix a wrong comment containing the possible
characters.
This commit is contained in:
Nicolas Roeser 2022-04-19 13:12:13 +02:00 committed by Jonathan White
parent a4d4adb1f6
commit aa97bd5213
2 changed files with 2 additions and 2 deletions

View File

@ -214,7 +214,7 @@ QVector<PasswordGroup> PasswordGenerator::passwordGroups() const
if (m_classes & Math) {
PasswordGroup group;
// !*+-<=>?
// !*+<=>?
group.append(33);
group.append(42);
group.append(43);

View File

@ -492,7 +492,7 @@ QProgressBar::chunk {
<string>Math Symbols</string>
</property>
<property name="text">
<string notr="true">&lt; * + ! ? =</string>
<string notr="true">&lt; &gt; * + ! ? =</string>
</property>
<property name="checkable">
<bool>true</bool>