projects
/
platform
/
upstream
/
qtdeclarative.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9acb48a
)
Remove unused local variables
author
Kai Koehne
<kai.koehne@digia.com>
Wed, 7 Aug 2013 08:43:10 +0000
(10:43 +0200)
committer
The Qt Project
<gerrit-noreply@qt-project.org>
Fri, 9 Aug 2013 09:31:38 +0000
(11:31 +0200)
Change-Id: I910c47cd404c0c5c1c324e956927966e834b488e
Reviewed-by: Alan Alpert <aalpert@blackberry.com>
src/qml/qml/qqmlfile.cpp
patch
|
blob
|
history
diff --git
a/src/qml/qml/qqmlfile.cpp
b/src/qml/qml/qqmlfile.cpp
index
4e76fbd
..
aaf2362
100644
(file)
--- a/
src/qml/qml/qqmlfile.cpp
+++ b/
src/qml/qml/qqmlfile.cpp
@@
-326,8
+326,6
@@
void QQmlFile::load(QQmlEngine *engine, const QUrl &url)
{
Q_ASSERT(engine);
- QString scheme = url.scheme();
-
clear();
d->url = url;
@@
-717,7
+715,6
@@
bool QQmlFile::bundleDirectoryExists(const QString &dir, QQmlEngine *e)
return false;
QStringRef identifier(&dir, 9, index - 9);
- QStringRef path(&dir, index + 1, dir.length() - index - 1);
QQmlBundleData *bundle = QQmlEnginePrivate::get(e)->typeLoader.getBundle(identifier);