Skip to content
Permalink
Browse files
Log timeout URL to message log, only display short message in message…
… bar
  • Loading branch information
manisandro committed Apr 9, 2014
1 parent 6d2fa19 commit d2dce59cf0647f2207dffc28baf39b78d6ab4a5e
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/app/qgisapp.cpp
@@ -9385,7 +9385,8 @@ void QgisApp::namSslErrors( QNetworkReply *reply, const QList<QSslError> &errors

void QgisApp::namRequestTimedOut( QNetworkReply *reply )
{
messageBar()->pushMessage( tr( "Network request timeout" ), tr( "The request '%1' timed out. Any data received is likely incomplete." ).arg( reply->url().toString() ), QgsMessageBar::WARNING, messageTimeout() );
QgsMessageLog::logMessage( tr( "The request '%1' timed out. Any data received is likely incomplete." ).arg( reply->url().toString() ), QString::null, QgsMessageLog::WARNING );
messageBar()->pushMessage( tr( "Network request timeout" ), tr( "A network request timed out, any data received is likely incomplete." ), QgsMessageBar::WARNING, messageTimeout() );
}

void QgisApp::namUpdate()

0 comments on commit d2dce59

Please sign in to comment.