diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-04-27 20:54:43 +0300 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-08-13 16:37:05 +0300 |
commit | 2c7f5d8c2e6dae099a73fe748f6194da3c961a48 (patch) | |
tree | 89c9c04ae76bf65b5758f11aad796c046703dab8 /src/qt/walletcontroller.cpp | |
parent | 27dcc37d429626c75c540331340c62723529f37e (diff) |
qt: Name WalletController worker QThread
Diffstat (limited to 'src/qt/walletcontroller.cpp')
-rw-r--r-- | src/qt/walletcontroller.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qt/walletcontroller.cpp b/src/qt/walletcontroller.cpp index 3aed98e0e8..9200c6da77 100644 --- a/src/qt/walletcontroller.cpp +++ b/src/qt/walletcontroller.cpp @@ -14,6 +14,7 @@ #include <interfaces/handler.h> #include <interfaces/node.h> #include <util/string.h> +#include <util/threadnames.h> #include <util/translation.h> #include <wallet/wallet.h> @@ -45,6 +46,9 @@ WalletController::WalletController(ClientModel& client_model, const PlatformStyl m_activity_worker->moveToThread(m_activity_thread); m_activity_thread->start(); + QTimer::singleShot(0, m_activity_worker, []() { + util::ThreadRename("qt-walletctrl"); + }); } // Not using the default destructor because not all member types definitions are |