summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativescriptparser.cpp
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-08-27 05:55:57 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-08-27 05:55:57 (GMT)
commita4d3ffe03359e415f4a4a5740eb19bbb9dfddc0b (patch)
tree5cf6ee2de4345e849932c2feb278e922195c64ad /src/declarative/qml/qdeclarativescriptparser.cpp
parente68270fab9b718f8dbef0b6f17573355ae704643 (diff)
downloadQt-a4d3ffe03359e415f4a4a5740eb19bbb9dfddc0b.zip
Qt-a4d3ffe03359e415f4a4a5740eb19bbb9dfddc0b.tar.gz
Qt-a4d3ffe03359e415f4a4a5740eb19bbb9dfddc0b.tar.bz2
Simplify type management code
Diffstat (limited to 'src/declarative/qml/qdeclarativescriptparser.cpp')
-rw-r--r--src/declarative/qml/qdeclarativescriptparser.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/declarative/qml/qdeclarativescriptparser.cpp b/src/declarative/qml/qdeclarativescriptparser.cpp
index 6460448..c956051 100644
--- a/src/declarative/qml/qdeclarativescriptparser.cpp
+++ b/src/declarative/qml/qdeclarativescriptparser.cpp
@@ -387,7 +387,6 @@ bool ProcessAST::visit(AST::UiImport *node)
if (uri.endsWith(QLatin1String(".js"))) {
import.type = QDeclarativeScriptParser::Import::Script;
- _parser->_refUrls << QUrl(uri);
} else {
import.type = QDeclarativeScriptParser::Import::File;
}
@@ -878,11 +877,6 @@ QList<QDeclarativeScriptParser::TypeReference*> QDeclarativeScriptParser::refere
return _refTypes;
}
-QList<QUrl> QDeclarativeScriptParser::referencedResources() const
-{
- return _refUrls;
-}
-
Object *QDeclarativeScriptParser::tree() const
{
return root;