Skip to content

Commit 2c7f5d8

Browse files
committed
qt: Name WalletController worker QThread
1 parent 27dcc37 commit 2c7f5d8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/qt/walletcontroller.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#include <interfaces/handler.h>
1515
#include <interfaces/node.h>
1616
#include <util/string.h>
17+
#include <util/threadnames.h>
1718
#include <util/translation.h>
1819
#include <wallet/wallet.h>
1920

@@ -45,6 +46,9 @@ WalletController::WalletController(ClientModel& client_model, const PlatformStyl
4546

4647
m_activity_worker->moveToThread(m_activity_thread);
4748
m_activity_thread->start();
49+
QTimer::singleShot(0, m_activity_worker, []() {
50+
util::ThreadRename("qt-walletctrl");
51+
});
4852
}
4953

5054
// Not using the default destructor because not all member types definitions are

0 commit comments

Comments
 (0)