Threadsafety

Now completly working on all platforms
This commit is contained in:
Skycoder42
2016-02-07 17:32:12 +01:00
parent 83cfcb058d
commit d769b95b09
4 changed files with 79 additions and 43 deletions
+6
View File
@@ -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);
}