History

interface is reserved, so use interfaceapp as the logging tag for interface. also experiment with a macro for logging

Seth Alves committed 11 years ago

Commit fc5b4421 parent fb607e222 files · +127 −125Browse files

Showing the changes to interface/src/ScriptsModel.cpp (1 of 22 files). Show all

Unified · Split

interface/src/ScriptsModel.cpp+2−2
@@ -182,7 +182,7 @@ void ScriptsModel::downloadFinished() { · 181 unmodified lines
182182 if (!data.isEmpty()) {
183183 finished = parseXML(data);
184184 } else {
185− qCDebug(interface) << "Error: Received no data when loading remote scripts";
185+ debugLog << "Error: Received no data when loading remote scripts";
186186 }
187187 }
188188
@@ -231,7 +231,7 @@ bool ScriptsModel::parseXML(QByteArray xmlFile) { · 42 unmodified lines
231231
232232 // Error handling
233233 if (xml.hasError()) {
234− qCDebug(interface) << "Error loading remote scripts: " << xml.errorString();
234+ debugLog << "Error loading remote scripts: " << xml.errorString();
235235 return true;
236236 }
237237