Skip to content
Permalink
Browse files

Only show host (not lengthy url) in message bar timeout messages

  • Loading branch information
nyalldawson committed Feb 1, 2019
1 parent 742acf1 commit 8bcd46c42b1b64ebcdf731699c26295d66a95fbd
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgisapp.cpp
@@ -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 );

0 comments on commit 8bcd46c

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