diff options
author | Aaron Seigo <aseigo@kde.org> | 2014-12-09 22:42:15 +0100 |
---|---|---|
committer | Aaron Seigo <aseigo@kde.org> | 2014-12-11 01:01:13 +0100 |
commit | ed893c2a609aef1bb68604aa5890c20dfc82f000 (patch) | |
tree | 648ae1ac7f85ae388308b6ed4acc53172ae3d771 | |
parent | e23004cb4001ab73d41cb79883d62aed84b6399f (diff) | |
download | sink-ed893c2a609aef1bb68604aa5890c20dfc82f000.tar.gz sink-ed893c2a609aef1bb68604aa5890c20dfc82f000.zip |
don't bother with out put here
-rw-r--r-- | tests/hawd/datasetdefinition.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/hawd/datasetdefinition.cpp b/tests/hawd/datasetdefinition.cpp index 4d1028b..d4b87c4 100644 --- a/tests/hawd/datasetdefinition.cpp +++ b/tests/hawd/datasetdefinition.cpp | |||
@@ -109,7 +109,6 @@ DatasetDefinition::DatasetDefinition(const QString &path) | |||
109 | 109 | ||
110 | if (jsonDoc.isNull()) { | 110 | if (jsonDoc.isNull()) { |
111 | m_lastError = QObject::tr("Dataset definition file malformed at character %1: %2").arg(error.offset).arg(error.errorString()); | 111 | m_lastError = QObject::tr("Dataset definition file malformed at character %1: %2").arg(error.offset).arg(error.errorString()); |
112 | std::cerr << m_lastError.toStdString() << std::endl; | ||
113 | } else { | 112 | } else { |
114 | m_valid = true; | 113 | m_valid = true; |
115 | QJsonObject json = jsonDoc.object(); | 114 | QJsonObject json = jsonDoc.object(); |
@@ -130,10 +129,6 @@ DatasetDefinition::DatasetDefinition(const QString &path) | |||
130 | } else { | 129 | } else { |
131 | m_lastError = QObject::tr("Could not open file for parsing: ").arg(path); | 130 | m_lastError = QObject::tr("Could not open file for parsing: ").arg(path); |
132 | } | 131 | } |
133 | |||
134 | if (!m_lastError.isEmpty()) { | ||
135 | std::cerr << m_lastError.toStdString() << std::endl; | ||
136 | } | ||
137 | } | 132 | } |
138 | 133 | ||
139 | bool DatasetDefinition::isValid() const | 134 | bool DatasetDefinition::isValid() const |