[about] uses variable for the domain name

This commit is contained in:
Salvatore Larosa 2015-08-30 19:37:29 +02:00
parent f3ebe1423b
commit eee7191e80

View File

@ -54,7 +54,7 @@ void QgsAbout::init()
// check internet connection in order to hide/show the developers map widget
int DEVELOPERS_MAP_INDEX = 5;
QTcpSocket socket;
socket.connectToHost( "qgis.org", 80 );
socket.connectToHost( QgsApplication::QGIS_ORGANIZATION_DOMAIN, 80 );
if ( socket.waitForConnected( 1000 ) )
{
setDevelopersMap();