Skip to content

Commit

Permalink
Removed debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Nov 9, 2016
1 parent 8b231ec commit 8f67c58
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/app/qgsidentifyresultsdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,19 +89,16 @@ QgsIdentifyResultsWebView::QgsIdentifyResultsWebView( QWidget *parent ) : QgsWeb

void QgsIdentifyResultsWebView::downloadRequested( const QNetworkRequest &request )
{
qDebug() << "Download Requested: " << request.url();
handleDownload( request.url() );
}

void QgsIdentifyResultsWebView::unsupportedContent( QNetworkReply * reply )
{
qDebug() << "Unsupported Content: " << reply->url();
handleDownload( reply->url() );
}

void QgsIdentifyResultsWebView::handleDownload( QUrl url )
{
qDebug() << "Downloading: " << url;
if ( ! url.isValid() )
{
QMessageBox::warning( this, tr( "Invalid URL" ), tr( "The download URL is not valid: %1" ).arg( url.toString( ) ) );
Expand All @@ -127,7 +124,6 @@ void QgsIdentifyResultsWebView::handleDownload( QUrl url )
{
settings.setValue( DOWNLOADER_LAST_DIR_KEY, QFileInfo( targetFile ).dir().absolutePath( ) );
// Start the download
qDebug() << "Start the download: " << url;
new QgsFileDownloader( url, targetFile );
}
}
Expand Down

0 comments on commit 8f67c58

Please sign in to comment.