Skip to content
Permalink
Browse files

Removed debug output

  • Loading branch information
elpaso committed Nov 9, 2016
1 parent 8b231ec commit 8f67c587e5b8987b50e9c3082bddf222a83d4ff2
Showing with 0 additions and 4 deletions.
  1. +0 −4 src/app/qgsidentifyresultsdialog.cpp
@@ -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( ) ) );
@@ -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 );
}
}

0 comments on commit 8f67c58

Please sign in to comment.
You can’t perform that action at this time.