mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
refactor: show thread names in GDB for better debugging (#848)
This commit is contained in:
@@ -47,6 +47,7 @@ void LedDeviceWrapper::createLedDevice(const QJsonObject& config)
|
||||
|
||||
// create thread and device
|
||||
QThread* thread = new QThread(this);
|
||||
thread->setObjectName("LedDeviceWrapperThread");
|
||||
_ledDevice = LedDeviceFactory::construct(config);
|
||||
_ledDevice->moveToThread(thread);
|
||||
// setup thread management
|
||||
|
Reference in New Issue
Block a user