summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2020-01-31 18:40:17 +0100
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2020-07-22 23:23:20 +0200
commit1a189c070177bd68fb6adf7b57ae468243174bd0 (patch)
tree30593f043d967026765c37a430707bcbc6011d5d /src
parente7371c19d9ab89847115efbe490a23c24c23f20b (diff)
testlib: Explicitly name watchdog timer thread
Simplifies debugging of issues where the watchdog thread is involved. Change-Id: I4862167bca4a942c7d4319a9374f1f83f292d831 Reviewed-by: Simon Hausmann <hausmann@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/testlib/qtestcase.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/testlib/qtestcase.cpp b/src/testlib/qtestcase.cpp
index 6b55ae43c6..59fe3a8b1f 100644
--- a/src/testlib/qtestcase.cpp
+++ b/src/testlib/qtestcase.cpp
@@ -1026,6 +1026,7 @@ class WatchDog : public QThread
public:
WatchDog()
{
+ setObjectName(QLatin1String("QtTest Watchdog"));
auto locker = qt_unique_lock(mutex);
expecting = ThreadStart;
start();