mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 13:36:48 +08:00
Automatically start background updater
Ref T28
This commit is contained in:
committed by
Mathew Sutcliffe
parent
c790e344ac
commit
e2c43a688b
@@ -89,6 +89,7 @@ namespace BlackCore
|
||||
{
|
||||
if (!CThreadUtils::isCurrentThreadObjectThread(this))
|
||||
{
|
||||
// shift in correct thread
|
||||
QTimer::singleShot(0, this, [this, updateTimeSecs] { this->startUpdating(updateTimeSecs); });
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user