mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-01 00:46:20 -05:00
[about] uses variable for the domain name
This commit is contained in:
parent
f3ebe1423b
commit
eee7191e80
@ -54,7 +54,7 @@ void QgsAbout::init()
|
|||||||
// check internet connection in order to hide/show the developers map widget
|
// check internet connection in order to hide/show the developers map widget
|
||||||
int DEVELOPERS_MAP_INDEX = 5;
|
int DEVELOPERS_MAP_INDEX = 5;
|
||||||
QTcpSocket socket;
|
QTcpSocket socket;
|
||||||
socket.connectToHost( "qgis.org", 80 );
|
socket.connectToHost( QgsApplication::QGIS_ORGANIZATION_DOMAIN, 80 );
|
||||||
if ( socket.waitForConnected( 1000 ) )
|
if ( socket.waitForConnected( 1000 ) )
|
||||||
{
|
{
|
||||||
setDevelopersMap();
|
setDevelopersMap();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user