mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
show correct host name when version check fails to find host
This commit is contained in:
parent
af88924ad9
commit
25a727a05a
@ -78,7 +78,7 @@ void QgsVersionInfo::versionReplyFinished()
|
||||
mErrorString = tr( "Connection refused - server may be down" );
|
||||
break;
|
||||
case QNetworkReply::HostNotFoundError:
|
||||
mErrorString = tr( "The host name qgis.org could not be resolved. Check your DNS settings or contact your system administrator." );
|
||||
mErrorString = tr( "The host name %1 could not be resolved. Check your DNS settings or contact your system administrator." ).arg( reply->request().url().host() );
|
||||
break;
|
||||
case QNetworkReply::NoError:
|
||||
mErrorString = "";
|
||||
|
Loading…
x
Reference in New Issue
Block a user