Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
show correct host name when version check fails to find host
  • Loading branch information
SebDieBln committed Feb 14, 2016
1 parent af88924 commit 25a727a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgsversioninfo.cpp
Expand Up @@ -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 = "";
Expand Down

0 comments on commit 25a727a

Please sign in to comment.