mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 21:48:13 +08:00
[Updater] Trigger download from dialog "download and install"
This commit is contained in:
committed by
Mat Sutcliffe
parent
881ec39043
commit
c187c701d5
@@ -73,6 +73,16 @@ namespace BlackGui
|
||||
return (vCurrentChannelPlatform > vCurrent);
|
||||
}
|
||||
|
||||
void CUpdateInfoComponent::triggerDownload()
|
||||
{
|
||||
QPointer<CUpdateInfoComponent> myself(this);
|
||||
QTimer::singleShot(10, this, [ = ]
|
||||
{
|
||||
if (!myself) { return; }
|
||||
ui->pb_DownloadInstaller->click();
|
||||
});
|
||||
}
|
||||
|
||||
void CUpdateInfoComponent::requestLoadOfSetup()
|
||||
{
|
||||
if (!sGui || sGui->isShuttingDown()) { return; }
|
||||
|
||||
Reference in New Issue
Block a user