Skip to content
Permalink
Browse files

show correct host name when version check fails to find host

  • Loading branch information
SebDieBln committed Feb 14, 2016
1 parent af88924 commit 25a727a05a717bedc2978efdbf53a9ad930e3923
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgsversioninfo.cpp
@@ -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 = "";

0 comments on commit 25a727a

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