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 authored and Jonathan White committed 2022-05-28 15:24:57 -04:00
1 parent a4d4adb1f6
commit aa97bd5213
2 files changed
+2 -2

No files matched your search

+1 -1
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);
+1 -1
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>