History

logging groups for library/shared and interface

Seth Alves committed 11 years ago

Commit fb607e21 parent cd5245d30 files · +255 −172Browse files

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

Unified · Split

interface/src/ScriptsModel.cpp+3−2
@@ -19,6 +19,7 @@ · 18 unmodified lines
1919
2020 #include "Application.h"
2121 #include "Menu.h"
22+#include "InterfaceLogging.h"
2223
2324 #include "ScriptsModel.h"
2425
@@ -181,7 +182,7 @@ void ScriptsModel::downloadFinished() { · 156 unmodified lines
181182 if (!data.isEmpty()) {
182183 finished = parseXML(data);
183184 } else {
184− qDebug() << "Error: Received no data when loading remote scripts";
185+ qCDebug(interface) << "Error: Received no data when loading remote scripts";
185186 }
186187 }
187188
@@ -230,7 +231,7 @@ bool ScriptsModel::parseXML(QByteArray xmlFile) { · 42 unmodified lines
230231
231232 // Error handling
232233 if (xml.hasError()) {
233− qDebug() << "Error loading remote scripts: " << xml.errorString();
234+ qCDebug(interface) << "Error loading remote scripts: " << xml.errorString();
234235 return true;
235236 }
236237