Skip to content

Commit

Permalink
Use message bar instead of warning dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
manisandro committed Apr 9, 2014
1 parent a63de6d commit 6d2fa19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgisapp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9385,7 +9385,7 @@ void QgisApp::namSslErrors( QNetworkReply *reply, const QList<QSslError> &errors

void QgisApp::namRequestTimedOut( QNetworkReply *reply )
{
QMessageBox::warning( this, tr( "Network request timed out" ), tr( "The following request timed out %1. If any data was received, it is likely incomplete." ).arg( reply->url().toString() ) );
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() );
}

void QgisApp::namUpdate()
Expand Down

0 comments on commit 6d2fa19

Please sign in to comment.