From b59521f2a40fab1205e7cec1c99c8c109f98021a Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Fri, 10 Apr 2015 10:42:54 +0200 Subject: 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 Reviewed-by: Jarek Kobus --- src/gui/util/qvalidator.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gui/util/qvalidator.cpp') 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 -- cgit v1.2.3