]> git.lyx.org Git - features.git/blobdiff - src/frontends/qt4/Validator.cpp
(try 2) fix a couple warnings after the number localization patch
[features.git] / src / frontends / qt4 / Validator.cpp
index d27f6b301f5c4a5459196b71de1ef1a6e02dee31..59655eb004485b2e3ebc5a833d09425aca538d6e 100644 (file)
@@ -41,7 +41,7 @@ LengthValidator::LengthValidator(QWidget * parent)
 QValidator::State LengthValidator::validate(QString & qtext, int &) const
 {
        bool ok;
-       double d = qtext.trimmed().toDouble(&ok);
+       qtext.trimmed().toDouble(&ok);
        if (qtext.isEmpty() || ok)
                return QValidator::Acceptable;