aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/ftw
diff options
context:
space:
mode:
authorThomas McGuire <thomas.mcguire@kdab.com>2014-04-01 10:59:39 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-04-01 14:18:53 +0200
commit0e0528df68659748f0ba62ffaf3defd99b551bff (patch)
tree4a20dccce76b942e9374b57c5cab26824f9f8b37 /src/qml/qml/ftw
parent722dcd2c315acc2bab1cfa9072986ca66a5bba88 (diff)
Give the QML and the debug server thread an objectname.
Now it is easier to identify the threads in e.g. the debugger in QtCreator. Change-Id: I032822e869df09cf43dc1d6e01d14610005ce217 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com> Reviewed-by: Ulf Hermann <ulf.hermann@digia.com>
Diffstat (limited to 'src/qml/qml/ftw')
-rw-r--r--src/qml/qml/ftw/qqmlthread.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/qml/ftw/qqmlthread.cpp b/src/qml/qml/ftw/qqmlthread.cpp
index c49463c913..700e5c3324 100644
--- a/src/qml/qml/ftw/qqmlthread.cpp
+++ b/src/qml/qml/ftw/qqmlthread.cpp
@@ -127,6 +127,7 @@ QQmlThreadPrivate::QQmlThreadPrivate(QQmlThread *q)
: q(q), m_threadProcessing(false), m_mainProcessing(false), m_shutdown(false),
m_mainThreadWaiting(false), mainSync(0), m_mainObject(this)
{
+ setObjectName(QStringLiteral("QQmlThread"));
}
bool QQmlThreadPrivate::event(QEvent *e)