aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/debugger/qqmlinspectorservice.cpp
diff options
context:
space:
mode:
authorFawzi Mohamed <fawzi.mohamed@digia.com>2014-03-10 19:29:06 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-11 19:59:05 +0100
commitdf5beb8ecf86d9a3c1d9d2178fd1a873ce26dcd3 (patch)
tree892640dda70614c90e0f1dc0aee324dcadd8bc48 /src/qml/debugger/qqmlinspectorservice.cpp
parentf6d7976172d82b98d7f11efc1db86f0a99ff564f (diff)
qmldebugger: avoid loading tcp module in inspector
loading the module twice starts two threads, and creates issues when unloading. Change-Id: I861df6a6b6a8942557d31d455b35e7987478a527 Reviewed-by: Kai Koehne <kai.koehne@digia.com> Reviewed-by: Ulf Hermann <ulf.hermann@digia.com>
Diffstat (limited to 'src/qml/debugger/qqmlinspectorservice.cpp')
-rw-r--r--src/qml/debugger/qqmlinspectorservice.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qml/debugger/qqmlinspectorservice.cpp b/src/qml/debugger/qqmlinspectorservice.cpp
index b48af34d57..5486258ae4 100644
--- a/src/qml/debugger/qqmlinspectorservice.cpp
+++ b/src/qml/debugger/qqmlinspectorservice.cpp
@@ -157,6 +157,8 @@ void QQmlInspectorService::loadInspectorPlugins()
}
foreach (const QString &pluginPath, pluginCandidates) {
+ if (pluginPath.contains(QLatin1String("qmldbg_tcp")))
+ continue;
if (qmlDebugVerbose())
qDebug() << "QQmlInspector: Trying to load plugin " << pluginPath << "...";