Skip to content

Commit 595ef7f

Browse files
committedDec 14, 2016
Code cleanup: removed unused slot
1 parent f02e4ad commit 595ef7f

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed
 

‎src/gui/qgsfiledownloader.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -182,11 +182,6 @@ void QgsFileDownloader::onFinished()
182182
this->deleteLater();
183183
}
184184

185-
void QgsFileDownloader::onNetworkError( QNetworkReply::NetworkError err )
186-
{
187-
Q_ASSERT( mReply );
188-
error( QString( "Network error %1: %2" ).arg( err ).arg( mReply->errorString() ) );
189-
}
190185

191186
void QgsFileDownloader::onDownloadProgress( qint64 bytesReceived, qint64 bytesTotal )
192187
{

‎src/gui/qgsfiledownloader.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,6 @@ class GUI_EXPORT QgsFileDownloader : public QObject
7979
void onReadyRead();
8080
//! Called when the network reply has finished
8181
void onFinished();
82-
//! Called on Network Error
83-
void onNetworkError( QNetworkReply::NetworkError err );
8482
//! Called on data ready to be processed
8583
void onDownloadProgress( qint64 bytesReceived, qint64 bytesTotal );
8684
//! Called when a network request times out

0 commit comments

Comments
 (0)
Please sign in to comment.