mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-18 00:03:05 -04:00
potential fix for PyQgsAppStartup by avoiding cloudflare
This commit is contained in:
parent
88a9f99a5d
commit
764c649842
@ -28,7 +28,7 @@ QgsVersionInfo::QgsVersionInfo( QObject *parent )
|
|||||||
|
|
||||||
void QgsVersionInfo::checkVersion()
|
void QgsVersionInfo::checkVersion()
|
||||||
{
|
{
|
||||||
QNetworkReply *reply = QgsNetworkAccessManager::instance()->get( QNetworkRequest( QUrl( "https://qgis.org/version.txt" ) ) );
|
QNetworkReply *reply = QgsNetworkAccessManager::instance()->get( QNetworkRequest( QUrl( "https://ubuntu.qgis.org/version.txt" ) ) );
|
||||||
connect( reply, SIGNAL( finished() ), this, SLOT( versionReplyFinished() ) );
|
connect( reply, SIGNAL( finished() ), this, SLOT( versionReplyFinished() ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user