Skip to content

Commit 8bcd46c

Browse files
committed
Only show host (not lengthy url) in message bar timeout messages
1 parent 742acf1 commit 8bcd46c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/qgisapp.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -13953,7 +13953,7 @@ void QgisApp::namProxyAuthenticationRequired( const QNetworkProxy &proxy, QAuthe
1395313953

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

0 commit comments

Comments
 (0)