]> Git trees. - libqmvoc.git/commitdiff
the date is an int
authorPino Toscano <pino@kde.org>
Tue, 25 Oct 2005 14:41:32 +0000 (14:41 +0000)
committerPino Toscano <pino@kde.org>
Tue, 25 Oct 2005 14:41:32 +0000 (14:41 +0000)
svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=474110

libscience/elementparser.cpp

index 7cd97dda49149977702dafe69c3cfca8075b946c..8f348096ed5a95b745a62b37262253cecf2e88bc 100644 (file)
@@ -192,7 +192,7 @@ bool ElementSaxParser::characters(const QString &ch)
                inNameOrigin_ = false;
        }
        else if (inDiscoveryDate_) {
-               value = ch;
+               value = ch.toInt();
                type = ChemicalDataObject::date;
                inDiscoveryDate_ = false;
        }