mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 15:20:05 +00:00
Update fixes for gcc
This commit is contained in:
parent
d598631a77
commit
8957abea9a
1 changed files with 4 additions and 2 deletions
|
|
@ -91,6 +91,8 @@ void UpdateDialog::Impl::HandleAsset(const types::gh::ReleaseAsset& asset)
|
|||
installUrl_ = asset.browserDownloadUrl_;
|
||||
installFilename_ = asset.name_;
|
||||
}
|
||||
#else
|
||||
Q_UNUSED(asset)
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
@ -147,7 +149,7 @@ void UpdateDialog::on_installUpdateButton_clicked()
|
|||
downloadDialog,
|
||||
&QDialog::accepted,
|
||||
this,
|
||||
[=]()
|
||||
[=, this]()
|
||||
{
|
||||
std::filesystem::path installerPackage =
|
||||
request->destination_path();
|
||||
|
|
@ -168,7 +170,7 @@ void UpdateDialog::on_installUpdateButton_clicked()
|
|||
connect(downloadDialog,
|
||||
&QDialog::rejected,
|
||||
this,
|
||||
[=]()
|
||||
[=, this]()
|
||||
{
|
||||
request->Cancel();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue