mirror of
https://github.com/Skycoder42/QHotkey.git
synced 2026-11-19 12:49:58 +03:00
Threadsafety
Now completly working on all platforms
This commit is contained in:
@@ -200,4 +200,10 @@ void HotTestWidget::on_threadEnableCheckBox_clicked()
|
||||
|
||||
this->hotkey_4->moveToThread(this->thread4);
|
||||
this->hotkey_5->moveToThread(this->thread5);
|
||||
|
||||
QApplication::processEvents();
|
||||
Q_ASSERT(this->hotkey_4->thread() == this->thread4);
|
||||
Q_ASSERT(this->hotkey_5->thread() == this->thread5);
|
||||
|
||||
this->ui->tabWidget->setCurrentIndex(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user