Multi thread error raise support

This commit is contained in:
Krad
2022-01-12 15:55:10 +08:00
parent f76758cbd2
commit 0edddd7b69
4 changed files with 20 additions and 5 deletions

View File

@@ -22,6 +22,9 @@ public:
bool getErrorOccurred(){
return errorOccurred;
}
void emitErrorCallback(const char * msg);
signals:
void raiseGlobalError(QString msg);
protected:
void timerEvent(QTimerEvent* event) override ;