Showing the changes to libraries/script-engine/src/ScriptsModel.cpp (1 of 1 file). Show all
Unified · Split
| @@ -194,7 +194,7 @@ void ScriptsModel::downloadFinished() { · 193 unmodified lines | ||
| 194 | 194 | qCDebug(scriptengine) << "Error: Received no data when loading default scripts"; |
| 195 | 195 | } |
| 196 | 196 | } else { |
| 197 | − qDebug() << "error is" << reply->error(); | |
| 197 | + qDebug() << "Error: when loading default scripts --" << reply->error(); | |
| 198 | 198 | } |
| 199 | 199 | |
| 200 | 200 | reply->deleteLater(); |
| @@ -228,7 +228,6 @@ bool ScriptsModel::parseXML(QByteArray xmlFile) { · 27 unmodified lines | ||
| 228 | 228 | if (xml.tokenType() == QXmlStreamReader::StartElement && xml.name() == KEY_NAME) { |
| 229 | 229 | xml.readNext(); |
| 230 | 230 | lastKey = xml.text().toString(); |
| 231 | − qDebug() << "lastKey = " << lastKey; | |
| 232 | 231 | if (jsRegex.exactMatch(xml.text().toString())) { |
| 233 | 232 | _treeNodes.append(new TreeNodeScript(lastKey.mid(MODELS_LOCATION.length()), |
| 234 | 233 | defaultScriptsLocation() + "/" + lastKey, |