fix: 修复 Qt 5.12 中 QThread::create()->start() 调用语法

QThread::create() 返回 QThread*,需用 ->start() 而非 .start()

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Alvin Young 2026-05-13 18:05:23 +08:00
parent f9df226772
commit 80aec75f8f

View File

@ -226,7 +226,7 @@ void CapsLockVoiceHotkey::onHotkeyEvent(int /*hotkeyId*/) {
QThread::msleep(50);
}
impl_->pollThreadRunning = false;
}).start();
})->start();
}
#endif