mirror of
				https://github.com/saitohirga/WSJT-X.git
				synced 2025-10-31 13:10:19 -04:00 
			
		
		
		
	Disable line 184 as it doesn't compile with Qt 5.12.12 (and some minor cosmetic changes).
This commit is contained in:
		
							parent
							
								
									a7413ae627
								
							
						
					
					
						commit
						491f783224
					
				| @ -177,13 +177,13 @@ void FileDownload::download(QUrl qurl) | ||||
| 
 | ||||
|   QObject::connect(manager_, &QNetworkAccessManager::finished, this, &FileDownload::downloadComplete, Qt::UniqueConnection); | ||||
|   QObject::connect(reply_, &QNetworkReply::downloadProgress, this, &FileDownload::downloadProgress, Qt::UniqueConnection); | ||||
|   QObject::connect(reply_, &QNetworkReply::finished, this,&FileDownload::replyComplete, Qt::UniqueConnection); | ||||
|   QObject::connect(reply_, &QNetworkReply::finished, this, &FileDownload::replyComplete, Qt::UniqueConnection); | ||||
| #if QT_VERSION >= QT_VERSION_CHECK(5, 15, 0) | ||||
|   QObject::connect(reply_, &QNetworkReply::errorOccurred,this,&FileDownload::errorOccurred, Qt::UniqueConnection); | ||||
|   QObject::connect(reply_, &QNetworkReply::errorOccurred,this, &FileDownload::errorOccurred, Qt::UniqueConnection); | ||||
| #else | ||||
|   QObject::connect(reply_, &QNetworkReply::error, this, &FileDownload::errorOccurred, Qt::UniqueConnection); | ||||
| //  QObject::connect(reply_, &QNetworkReply::error, this, &FileDownload::errorOccurred, Qt::UniqueConnection);
 | ||||
| #endif | ||||
|   QObject::connect (reply_, &QNetworkReply::readyRead, this, &FileDownload::store, Qt::UniqueConnection); | ||||
|   QObject::connect(reply_, &QNetworkReply::readyRead, this, &FileDownload::store, Qt::UniqueConnection); | ||||
| 
 | ||||
|   QFileInfo destination_file(destination_filename_); | ||||
|   QString const tmpfile_base = destination_file.fileName(); | ||||
| @ -217,4 +217,4 @@ void FileDownload::abort () | ||||
|   { | ||||
|     reply_->abort (); | ||||
|   } | ||||
| } | ||||
| } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user