mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
Fix some more merge confglicts after merging updates from 1.7 brnach
This commit is contained in:
parent
08d8ea2d85
commit
93a190a382
@ -20,7 +20,7 @@ ELSE(TXT2TAGS_EXECUTABLE)
|
||||
)
|
||||
ENDIF(TXT2TAGS_EXECUTABLE)
|
||||
|
||||
SET(QGIS_DOC_FILES ${QGIS_DOC_FILES} index.html changelog.html favicon.ico style.css AUTHORS CONTRIBUTORS SPONSORS DONORS TRANSLATORS
|
||||
SET(QGIS_DOC_FILES ${QGIS_DOC_FILES} index.html changelog.html favicon.ico style.css AUTHORS CONTRIBUTORS SPONSORS DONORS TRANSLATORS )
|
||||
|
||||
INSTALL(FILES ${QGIS_DOC_FILES} DESTINATION ${QGIS_DATA_DIR}/doc)
|
||||
INSTALL(FILES images/qgis_new_80pct.png DESTINATION ${QGIS_DATA_DIR}/doc/images)
|
||||
|
@ -4590,25 +4590,12 @@ void QgisApp::checkQgisVersion()
|
||||
QApplication::setOverrideCursor( Qt::WaitCursor );
|
||||
|
||||
QNetworkReply *reply = QgsNetworkAccessManager::instance()->get( QNetworkRequest( QUrl( "http://qgis.org/version.txt" ) ) );
|
||||
op.get(); */
|
||||
connect( reply, SIGNAL( finished() ), this, SLOT( versionReplyFinished() ) );
|
||||
mSocket = new QTcpSocket( this );
|
||||
connect( mSocket, SIGNAL( connected() ), SLOT( socketConnected() ) );
|
||||
connect( mSocket, SIGNAL( connectionClosed() ), SLOT( socketConnectionClosed() ) );
|
||||
connect( mSocket, SIGNAL( readyRead() ), SLOT( socketReadyRead() ) );
|
||||
connect( mSocket, SIGNAL( error( QAbstractSocket::SocketError ) ),
|
||||
SLOT( socketError( QAbstractSocket::SocketError ) ) );
|
||||
mSocket->connectToHost( "qgis.org", 80 );
|
||||
}
|
||||
|
||||
void QgisApp::versionReplyFinished()
|
||||
{
|
||||
QApplication::restoreOverrideCursor();
|
||||
QTextStream os( mSocket );
|
||||
mVersionMessage = "";
|
||||
// send the qgis version string
|
||||
// os << QGIS_VERSION << "\r\n";
|
||||
os << "GET /version.txt HTTP/1.0\n\n";
|
||||
|
||||
QNetworkReply *reply = qobject_cast<QNetworkReply*>( sender() );
|
||||
if ( !reply )
|
||||
|
Loading…
x
Reference in New Issue
Block a user