From: Luciano Montanaro Date: Mon, 8 Aug 2011 07:56:12 +0000 (+0200) Subject: Less verbose debug of StationListModel loading code X-Git-Tag: tags/0.4.81~73 X-Git-Url: http://git.maemo.org/git/?p=quandoparte;a=commitdiff_plain;h=b7821155a4d785801f70d82da4b904b72e74a5d9 Less verbose debug of StationListModel loading code --- diff --git a/application/stationlistmodel.cpp b/application/stationlistmodel.cpp index 77cdfeb..b1b3c52 100644 --- a/application/stationlistmodel.cpp +++ b/application/stationlistmodel.cpp @@ -32,7 +32,6 @@ Q_DECLARE_METATYPE(QGeoCoordinate) StationListModel::StationListModel(QObject *parent) : QStandardItemModel(parent) - { setRowCount(0); } @@ -120,7 +119,6 @@ void StationListModel::readPosElement(QStandardItem *item) QStringList coordinates = m_reader.readElementText().split(","); QGeoCoordinate pos = QGeoCoordinate(coordinates[0].toDouble(), coordinates[1].toDouble()); item->setData(QVariant::fromValue(pos), PositionRole); - qDebug() << "pos:" << pos; m_reader.readElementText(); if (m_reader.isEndElement()) { m_reader.readNext(); @@ -130,7 +128,6 @@ void StationListModel::readPosElement(QStandardItem *item) void StationListModel::readNameElement(QStandardItem *item) { item->setText(m_reader.readElementText()); - qDebug() << "name:" << item->text(); if (m_reader.isEndElement()) { m_reader.readNext(); }