mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-12 15:25:34 +08:00
[UI] Enable version update check in pilot client
This commit is contained in:
committed by
Mat Sutcliffe
parent
b1315593f8
commit
5bed714e75
@@ -165,15 +165,20 @@ void SwiftGuiStd::init()
|
||||
// whether init has been completed
|
||||
this->setVisible(true);
|
||||
|
||||
emit sGui->startUpCompleted(true);
|
||||
m_init = true;
|
||||
|
||||
// more checks
|
||||
QPointer<SwiftGuiStd> myself(this);
|
||||
QTimer::singleShot(5000, this, [ = ]
|
||||
{
|
||||
if (!myself) { return; }
|
||||
this->verifyPrerequisites();
|
||||
});
|
||||
|
||||
// trigger version check
|
||||
sGui->triggerNewVersionCheck(10 * 1000);
|
||||
|
||||
// done
|
||||
emit sGui->startUpCompleted(true);
|
||||
m_init = true;
|
||||
}
|
||||
|
||||
void SwiftGuiStd::initStyleSheet()
|
||||
|
||||
Reference in New Issue
Block a user