mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-02 00:02:12 -05:00
Fix progress bar for file downloader alg
This commit is contained in:
parent
e24333ae19
commit
c728a35c4b
@ -120,7 +120,7 @@ void QgsFileDownloaderAlgorithm::receiveProgressFromDownloader( qint64 bytesRece
|
||||
}
|
||||
}
|
||||
|
||||
QString QgsFileDownloaderAlgorithm::humanSize( qint64 &bytes )
|
||||
QString QgsFileDownloaderAlgorithm::humanSize( qint64 bytes )
|
||||
{
|
||||
QStringList list;
|
||||
list << "KB" << "MB" << "GB" << "TB";
|
||||
|
@ -54,7 +54,7 @@ class QgsFileDownloaderAlgorithm : public QgsProcessingAlgorithm, public QObject
|
||||
QString mLastReport;
|
||||
void reportErrors( QStringList errors );
|
||||
void receiveProgressFromDownloader( qint64 bytesReceived, qint64 bytesTotal );
|
||||
static QString humanSize( qint64 &bytes );
|
||||
static QString humanSize( qint64 bytes );
|
||||
void sendProgressFeedback();
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user