summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlexpression_p.h
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2009-10-29 05:56:57 (GMT)
committerMartin Jones <martin.jones@nokia.com>2009-10-29 05:56:57 (GMT)
commit5b3fc8dfb20934e5a64c111335a292337320195a (patch)
tree1f3a51415daab55693fd0bca93099a39f1a24e1a /src/declarative/qml/qmlexpression_p.h
parentb624cb89591298b3c786f6ba6dd9fb5c454caf20 (diff)
downloadQt-5b3fc8dfb20934e5a64c111335a292337320195a.zip
Qt-5b3fc8dfb20934e5a64c111335a292337320195a.tar.gz
Qt-5b3fc8dfb20934e5a64c111335a292337320195a.tar.bz2
Store filename as a QUrl rather than convert to QString.
Saves about 700KB heap in samegame.
Diffstat (limited to 'src/declarative/qml/qmlexpression_p.h')
-rw-r--r--src/declarative/qml/qmlexpression_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qmlexpression_p.h b/src/declarative/qml/qmlexpression_p.h
index 4e13de3..6360852 100644
--- a/src/declarative/qml/qmlexpression_p.h
+++ b/src/declarative/qml/qmlexpression_p.h
@@ -98,7 +98,7 @@ public:
QObject *me;
bool trackChange;
- QString fileName;
+ QUrl url;
int line;
struct SignalGuard : public QGuard<QObject> {