diff options
author | Kai Koehne <kai.koehne@theqtcompany.com> | 2015-01-27 16:56:37 +0100 |
---|---|---|
committer | Kai Koehne <kai.koehne@theqtcompany.com> | 2015-02-02 13:33:24 +0000 |
commit | 8d40794f8b4e1f2ea944659673bac79d221f5c17 (patch) | |
tree | 3a71cad75f01388564bf4c3def17ff182d52d083 /src/libs | |
parent | 0838e9eac20d6db5f165a7864e96f8c82bd1edfb (diff) |
Set objectName for QThread
The objectName of a QThread will be picked up and shown by debuggers.
Change-Id: Iabd1006a228a73fff0a9a89bd3d8c1021bab6945
Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
Diffstat (limited to 'src/libs')
-rw-r--r-- | src/libs/installer/extractarchiveoperation_p.h | 1 | ||||
-rw-r--r-- | src/libs/installer/fileutils.cpp | 1 | ||||
-rw-r--r-- | src/libs/installer/remoteclient_p.h | 1 | ||||
-rw-r--r-- | src/libs/installer/remoteserverconnection.cpp | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/src/libs/installer/extractarchiveoperation_p.h b/src/libs/installer/extractarchiveoperation_p.h index cb871552a..3ed6bcecb 100644 --- a/src/libs/installer/extractarchiveoperation_p.h +++ b/src/libs/installer/extractarchiveoperation_p.h @@ -57,6 +57,7 @@ public: , m_files(files) , m_op(op) { + setObjectName(QLatin1String("ExtractArchive")); } void run() diff --git a/src/libs/installer/fileutils.cpp b/src/libs/installer/fileutils.cpp index 5556e9eb0..296e2128c 100644 --- a/src/libs/installer/fileutils.cpp +++ b/src/libs/installer/fileutils.cpp @@ -239,6 +239,7 @@ public: , p(path) , ignore(ignoreErrors) { + setObjectName(QLatin1String("RemoveDirectory")); } const QString &error() const diff --git a/src/libs/installer/remoteclient_p.h b/src/libs/installer/remoteclient_p.h index 9f337c555..9e755d8b8 100644 --- a/src/libs/installer/remoteclient_p.h +++ b/src/libs/installer/remoteclient_p.h @@ -69,6 +69,7 @@ public: , m_mode(Protocol::Mode::Debug) , m_object(0) { + m_thread.setObjectName(QLatin1String("KeepAlive")); } ~RemoteClientPrivate() diff --git a/src/libs/installer/remoteserverconnection.cpp b/src/libs/installer/remoteserverconnection.cpp index c942b19e3..fe1ff323f 100644 --- a/src/libs/installer/remoteserverconnection.cpp +++ b/src/libs/installer/remoteserverconnection.cpp @@ -53,6 +53,7 @@ RemoteServerConnection::RemoteServerConnection(qintptr socketDescriptor, const Q , m_authorizationKey(key) , m_signalReceiver(0) { + setObjectName(QString::fromLatin1("RemoteServerConnection(%1)").arg(socketDescriptor)); } void RemoteServerConnection::run() |