mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:44:02 +02:00
cleanups
This commit is contained in:
parent
0c72ca1be3
commit
51cf854863
1 changed files with 1 additions and 2 deletions
|
@ -194,7 +194,7 @@ void ScriptsModel::downloadFinished() {
|
|||
qCDebug(scriptengine) << "Error: Received no data when loading default scripts";
|
||||
}
|
||||
} else {
|
||||
qDebug() << "error is" << reply->error();
|
||||
qDebug() << "Error: when loading default scripts --" << reply->error();
|
||||
}
|
||||
|
||||
reply->deleteLater();
|
||||
|
@ -228,7 +228,6 @@ bool ScriptsModel::parseXML(QByteArray xmlFile) {
|
|||
if (xml.tokenType() == QXmlStreamReader::StartElement && xml.name() == KEY_NAME) {
|
||||
xml.readNext();
|
||||
lastKey = xml.text().toString();
|
||||
qDebug() << "lastKey = " << lastKey;
|
||||
if (jsRegex.exactMatch(xml.text().toString())) {
|
||||
_treeNodes.append(new TreeNodeScript(lastKey.mid(MODELS_LOCATION.length()),
|
||||
defaultScriptsLocation() + "/" + lastKey,
|
||||
|
|
Loading…
Reference in a new issue