diff options
Diffstat (limited to 'src-qt5/desktop-utils/lumina-calculator/EqValidator.h')
-rw-r--r-- | src-qt5/desktop-utils/lumina-calculator/EqValidator.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src-qt5/desktop-utils/lumina-calculator/EqValidator.h b/src-qt5/desktop-utils/lumina-calculator/EqValidator.h index 8218efdf..ab9bcc22 100644 --- a/src-qt5/desktop-utils/lumina-calculator/EqValidator.h +++ b/src-qt5/desktop-utils/lumina-calculator/EqValidator.h @@ -7,10 +7,10 @@ #ifndef _LUMINA_CALCULATOR_VALIDATOR_H #define _LUMINA_CALCULATOR_VALIDATOR_H -#define VALIDCHARS QString("x*+-/^%eE().0123456789") +#define VALIDCHARS QString("x*+-/^%eE().0123456789#") #define NOSTARTCHARS QString("x*/^%)eE.") -#define NOENDCHARS QString("x*/^(eE.") -#define NOCHANGE QString("().") +#define NOENDCHARS QString("x*/^(eE.#") +#define NOCHANGE QString("().#") #include <QValidator> #include <QString> |