diff options
author | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2015-04-10 10:42:54 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2015-04-10 09:41:21 +0000 |
commit | b59521f2a40fab1205e7cec1c99c8c109f98021a (patch) | |
tree | bf216558fed36e2065f4946cdbd4e2d027d17175 /src/gui | |
parent | 28dfda5d1f9afdc4799a2855fbed012db754eb5b (diff) |
Add FIXME comments to make Q[]Validator::setRange() non-virtual.
There is no apparent reason why these functions should be virtual.
The virtual keyword originates from the CVS import.
Change-Id: I4f8051cd4e89ca3037a78d12f17c93265c755b8e
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/util/qvalidator.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/util/qvalidator.cpp b/src/gui/util/qvalidator.cpp index 6b1e20c844..31dfd20d1a 100644 --- a/src/gui/util/qvalidator.cpp +++ b/src/gui/util/qvalidator.cpp @@ -448,6 +448,8 @@ void QIntValidator::fixup(QString &input) const input = locale().toString(entered); } +// FIXME: Qt 6: Make QIntValidator::setRange() non-virtual + /*! Sets the range of the validator to only accept integers between \a bottom and \a top inclusive. @@ -696,6 +698,7 @@ QValidator::State QDoubleValidatorPrivate::validateWithLocale(QString &input, QL return QValidator::Intermediate; } +// FIXME: Qt 6: Make QDoubleValidator::setRange() non-virtual /*! Sets the validator to accept doubles from \a minimum to \a maximum |