mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 06:30: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_; |       installUrl_      = asset.browserDownloadUrl_; | ||||||
|       installFilename_ = asset.name_; |       installFilename_ = asset.name_; | ||||||
|    } |    } | ||||||
|  | #else | ||||||
|  |    Q_UNUSED(asset) | ||||||
| #endif | #endif | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | @ -147,7 +149,7 @@ void UpdateDialog::on_installUpdateButton_clicked() | ||||||
|          downloadDialog, |          downloadDialog, | ||||||
|          &QDialog::accepted, |          &QDialog::accepted, | ||||||
|          this, |          this, | ||||||
|          [=]() |          [=, this]() | ||||||
|          { |          { | ||||||
|             std::filesystem::path installerPackage = |             std::filesystem::path installerPackage = | ||||||
|                request->destination_path(); |                request->destination_path(); | ||||||
|  | @ -168,7 +170,7 @@ void UpdateDialog::on_installUpdateButton_clicked() | ||||||
|       connect(downloadDialog, |       connect(downloadDialog, | ||||||
|               &QDialog::rejected, |               &QDialog::rejected, | ||||||
|               this, |               this, | ||||||
|               [=]() |               [=, this]() | ||||||
|               { |               { | ||||||
|                  request->Cancel(); |                  request->Cancel(); | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat