Skip to content
Permalink
Browse files

Deprecation fixes

  • Loading branch information
m-kuhn authored and nyalldawson committed Jan 21, 2020
1 parent 07b64aa commit 7462b64b8d7c4e786b2b039a11d8493dfc9214c2
@@ -798,8 +798,8 @@ void QgsAuthOAuth2Edit::exportOAuthConfig()
QgsDebugMsg( QStringLiteral( "FAILED to export OAuth2 config file" ) );
}
// clear temp changes
mOAuthConfigCustom->setId( QString::null );
mOAuthConfigCustom->setName( QString::null );
mOAuthConfigCustom->setId( QString() );
mOAuthConfigCustom->setName( QString() );
}


@@ -32,7 +32,7 @@ QString QgsO2::O2_OAUTH2_STATE = QStringLiteral( "state" );
QgsO2::QgsO2( const QString &authcfg, QgsAuthOAuth2Config *oauth2config,
QObject *parent, QNetworkAccessManager *manager )
: O2( parent, manager )
, mTokenCacheFile( QString::null )
, mTokenCacheFile( QString() )
, mAuthcfg( authcfg )
, mOAuth2Config( oauth2config )
{
@@ -26,7 +26,7 @@ class QgsGeoNodeNewConnection : public QgsNewHttpConnection

public:
//! Constructor
QgsGeoNodeNewConnection( QWidget *parent = nullptr, const QString &connName = QString::null, Qt::WindowFlags fl = QgsGuiUtils::ModalDialogFlags );
QgsGeoNodeNewConnection( QWidget *parent = nullptr, const QString &connName = QString(), Qt::WindowFlags fl = QgsGuiUtils::ModalDialogFlags );

public slots:

@@ -28,7 +28,7 @@ class QgsWFSNewConnection : public QgsNewHttpConnection

public:
//! Constructor
QgsWFSNewConnection( QWidget *parent = nullptr, const QString &connName = QString::null );
QgsWFSNewConnection( QWidget *parent = nullptr, const QString &connName = QString() );
~QgsWFSNewConnection() override;

private slots:

0 comments on commit 7462b64

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