Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Only show host (not lengthy url) in message bar timeout messages
  • Loading branch information
nyalldawson committed Feb 1, 2019
1 parent 742acf1 commit 8bcd46c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgisapp.cpp
Expand Up @@ -13953,7 +13953,7 @@ void QgisApp::namProxyAuthenticationRequired( const QNetworkProxy &proxy, QAuthe

void QgisApp::namRequestTimedOut( const QgsNetworkRequestParameters &request )
{
QLabel *msgLabel = new QLabel( tr( "Network request to %1 timed out, any data received is likely incomplete." ).arg( request.request().url().toString() ) +
QLabel *msgLabel = new QLabel( tr( "Network request to %1 timed out, any data received is likely incomplete." ).arg( request.request().url().host() ) +
tr( " Please check the <a href=\"#messageLog\">message log</a> for further info." ), messageBar() );
msgLabel->setWordWrap( true );
connect( msgLabel, &QLabel::linkActivated, mLogDock, &QWidget::show );
Expand Down

0 comments on commit 8bcd46c

Please sign in to comment.