mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-28 20:25:34 +08:00
[Updater] Trigger download from dialog "download and install"
This commit is contained in:
committed by
Mat Sutcliffe
parent
881ec39043
commit
c187c701d5
@@ -39,7 +39,7 @@ namespace BlackGui
|
||||
explicit CUpdateInfoComponent(QWidget *parent = nullptr);
|
||||
|
||||
//! Dtor
|
||||
virtual ~CUpdateInfoComponent();
|
||||
virtual ~CUpdateInfoComponent() override;
|
||||
|
||||
//! Is there a new version available return version, else empty string
|
||||
BlackMisc::Db::CArtifact getLatestAvailablePilotClientArtifactForSelection() const;
|
||||
@@ -47,6 +47,9 @@ namespace BlackGui
|
||||
//! Is there a new version available?
|
||||
bool isNewPilotClientVersionAvailable() const;
|
||||
|
||||
//! Trigger download
|
||||
void triggerDownload();
|
||||
|
||||
//! Current distribution
|
||||
BlackMisc::Db::CDistribution getCurrentDistribution() const { return this->getSelectedOrDefaultDistribution(); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user