Changed int to string converstion method because the old method gave an compilation...
authorPhilipp Spitzer <philipp@spitzer.priv.at>
Wed, 17 Oct 2012 19:42:01 +0000 (19:42 +0000)
committerPhilipp Spitzer <philipp@spitzer.priv.at>
Wed, 17 Oct 2012 19:42:01 +0000 (19:42 +0000)
src/sql/schedulexmlparser.cpp

index 4256290..8a6df50 100644 (file)
@@ -54,7 +54,7 @@ void ScheduleXmlParser::parseData(const QByteArray &aData, const QString& url, i
         {
             emit(parsingScheduleBegin());
             QHash<QString,QString> conference;
         {
             emit(parsingScheduleBegin());
             QHash<QString,QString> conference;
-            conference["id"] = QVariant(conferenceId).toString(); // conference ID is assigned automatically if 0
+            conference["id"] = QString::number(conferenceId); // conference ID is assigned automatically if 0
             conference["title"] = conferenceElement.firstChildElement("title").text();
             conference["subtitle"] = conferenceElement.firstChildElement("subtitle").text();
             conference["venue"] = conferenceElement.firstChildElement("venue").text();
             conference["title"] = conferenceElement.firstChildElement("title").text();
             conference["subtitle"] = conferenceElement.firstChildElement("subtitle").text();
             conference["venue"] = conferenceElement.firstChildElement("venue").text();