aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlcustomparser.cpp
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2014-03-18 23:39:02 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-19 17:24:01 +0100
commit12e55eaa653107982de9b88f6459f0e16660a35e (patch)
tree462b1d84a7a62168868b299ee03b1df10cc9d399 /src/qml/qml/qqmlcustomparser.cpp
parent8a0573b92924ba3fcf4228730c2c693b52c41c28 (diff)
Cleanup: Remove last traces of QQmlScript
What remains is the code for removing .pragma from script source code (and replacing it with white-space to preserve line/column numbers). The previous code even returned the value of the pragmas, but for the remaining caller sites that value isn't used, so we can just return void. Change-Id: I16db15da236970660b817d6c4493005365a7a1af Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/qml/qqmlcustomparser.cpp')
-rw-r--r--src/qml/qml/qqmlcustomparser.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/qml/qml/qqmlcustomparser.cpp b/src/qml/qml/qqmlcustomparser.cpp
index 037b07dbb3..fc08f33141 100644
--- a/src/qml/qml/qqmlcustomparser.cpp
+++ b/src/qml/qml/qqmlcustomparser.cpp
@@ -47,8 +47,6 @@
QT_BEGIN_NAMESPACE
-using namespace QQmlScript;
-
/*!
\class QQmlCustomParser
\brief The QQmlCustomParser class allows you to add new arbitrary types to QML.