Skip to content
Permalink
Browse files

Get qgis version info from QGIS.org rather than mrcc.com

  • Loading branch information
timlinux committed Sep 23, 2011
1 parent 36d86b0 commit 8c3e0669226e1861da9134266675df7ed67cf971
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/app/qgisapp.cpp
@@ -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()
@@ -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";


}

0 comments on commit 8c3e066

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