mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
add Q_EMIT to signals
This commit is contained in:
@@ -122,7 +122,7 @@ void CDownloadManager::downloadFinished(QNetworkReply * reply)
|
||||
}
|
||||
|
||||
if(downloadComplete)
|
||||
finished(successful, failed, encounteredErrors);
|
||||
Q_EMIT finished(successful, failed, encounteredErrors);
|
||||
|
||||
file.reply->deleteLater();
|
||||
file.reply = nullptr;
|
||||
@@ -149,7 +149,7 @@ void CDownloadManager::downloadProgressChanged(qint64 bytesReceived, qint64 byte
|
||||
if(received > total)
|
||||
total = received;
|
||||
|
||||
downloadProgress(received, total);
|
||||
Q_EMIT downloadProgress(received, total);
|
||||
}
|
||||
|
||||
bool CDownloadManager::downloadInProgress(const QUrl & url) const
|
||||
|
||||
Reference in New Issue
Block a user