mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
qt: Name WalletController worker QThread
This commit is contained in:
parent
27dcc37d42
commit
2c7f5d8c2e
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue