diff options
Diffstat (limited to 'tests/hawd/datasetdefinition.cpp')
-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 |