aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmltypeloader_p.h
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@theqtcompany.com>2014-12-08 15:51:47 +0100
committerSimon Hausmann <simon.hausmann@digia.com>2014-12-09 10:07:23 +0100
commite04822f3c2a6b69b7d75e2039256aa2433c59dd2 (patch)
tree1f455738570461e4313371c133964bfb276adfbe /src/qml/qml/qqmltypeloader_p.h
parent3228864f7b9ea20f307beedd1fd7e56fb3216654 (diff)
Cleanup: Remove unused code
isConcurrent is not virtual and always returns true, so we can remove it and remove the if() on the caller side. Change-Id: Ie750fdeddaf8c339e1fcab99ebd967e3446bd975 Reviewed-by: Michael Brasser <michael.brasser@live.com>
Diffstat (limited to 'src/qml/qml/qqmltypeloader_p.h')
-rw-r--r--src/qml/qml/qqmltypeloader_p.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/qml/qml/qqmltypeloader_p.h b/src/qml/qml/qqmltypeloader_p.h
index fecb3c1764..02adf09eed 100644
--- a/src/qml/qml/qqmltypeloader_p.h
+++ b/src/qml/qml/qqmltypeloader_p.h
@@ -313,8 +313,6 @@ public:
void lock();
void unlock();
- bool isConcurrent() const { return true; }
-
void load(QQmlDataBlob *, Mode = PreferSynchronous);
void loadWithStaticData(QQmlDataBlob *, const QByteArray &, Mode = PreferSynchronous);
void loadWithCachedUnit(QQmlDataBlob *blob, const QQmlPrivate::CachedQmlUnit *unit, Mode mode = PreferSynchronous);