logic: Fixed automatic update check only works on Qt thread

This commit is contained in:
Eberhard Graether
2017-08-23 16:15:22 +02:00
parent 0a3edfdcbc
commit 1227ad313e
4 changed files with 12 additions and 4 deletions
+4
View File
@@ -1,6 +1,7 @@
#ifndef QT_UPDATE_CHECKER_H
#define QT_UPDATE_CHECKER_H
#include "qt/utility/QtThreadedFunctor.h"
#include "UpdateChecker.h"
class QtUpdateChecker
@@ -10,6 +11,9 @@ public:
static void check(bool force = false);
virtual void checkUpdate() override;
private:
QtThreadedLambdaFunctor m_onQtThread;
};
#endif // QT_UPDATE_CHECKER_H