mirror of
https://github.com/AntiMicroX/antimicrox.git
synced 2026-08-01 01:56:50 -04:00
chore: Add naming of initialized threads
This commit is contained in:
committed by
Paweł Kotiuk
parent
ece973aaaf
commit
a5ddbcbc67
@@ -56,6 +56,7 @@ InputDaemon::InputDaemon(QMap<SDL_JoystickID, InputDevice *> *joysticks, AntiMic
|
||||
if (m_graphical)
|
||||
{
|
||||
sdlWorkerThread = new QThread;
|
||||
sdlWorkerThread->setObjectName("sdlWorkerThread");
|
||||
eventWorker->moveToThread(sdlWorkerThread);
|
||||
|
||||
connect(sdlWorkerThread, &QThread::started, eventWorker, &SDLEventReader::performWork);
|
||||
|
||||
Reference in New Issue
Block a user