History

cleanups

Seth Alves committed 10 years ago

Commit 51cf8541 parent 0c72ca11 file · +1 −2Browse files

Showing the changes to libraries/script-engine/src/ScriptsModel.cpp (1 of 1 file). Show all

Unified · Split

libraries/script-engine/src/ScriptsModel.cpp+1−2
@@ -194,7 +194,7 @@ void ScriptsModel::downloadFinished() { · 193 unmodified lines
194194 qCDebug(scriptengine) << "Error: Received no data when loading default scripts";
195195 }
196196 } else {
197− qDebug() << "error is" << reply->error();
197+ qDebug() << "Error: when loading default scripts --" << reply->error();
198198 }
199199
200200 reply->deleteLater();
@@ -228,7 +228,6 @@ bool ScriptsModel::parseXML(QByteArray xmlFile) { · 27 unmodified lines
228228 if (xml.tokenType() == QXmlStreamReader::StartElement && xml.name() == KEY_NAME) {
229229 xml.readNext();
230230 lastKey = xml.text().toString();
231− qDebug() << "lastKey = " << lastKey;
232231 if (jsRegex.exactMatch(xml.text().toString())) {
233232 _treeNodes.append(new TreeNodeScript(lastKey.mid(MODELS_LOCATION.length()),
234233 defaultScriptsLocation() + "/" + lastKey,