Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Get qgis version info from QGIS.org rather than mrcc.com
  • Loading branch information
timlinux committed Sep 23, 2011
1 parent 36d86b0 commit 8c3e066
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/qgisapp.cpp
Expand Up @@ -4633,7 +4633,7 @@ void QgisApp::checkQgisVersion()
connect( mSocket, SIGNAL( readyRead() ), SLOT( socketReadyRead() ) );
connect( mSocket, SIGNAL( error( QAbstractSocket::SocketError ) ),
SLOT( socketError( QAbstractSocket::SocketError ) ) );
mSocket->connectToHost( "mrcc.com", 80 );
mSocket->connectToHost( "qgis.org", 80 );
}

void QgisApp::socketConnected()
Expand All @@ -4642,7 +4642,7 @@ void QgisApp::socketConnected()
mVersionMessage = "";
// send the qgis version string
// os << QGIS_VERSION << "\r\n";
os << "GET /qgis/version.txt HTTP/1.0\n\n";
os << "GET /version.txt HTTP/1.0\n\n";


}
Expand Down

0 comments on commit 8c3e066

Please sign in to comment.