Skip to content

Commit

Permalink
Deprecation fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn authored and nyalldawson committed Jan 21, 2020
1 parent 07b64aa commit 7462b64
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/auth/oauth2/qgsauthoauth2edit.cpp
Expand Up @@ -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() );
}


Expand Down
2 changes: 1 addition & 1 deletion src/auth/oauth2/qgso2.cpp
Expand Up @@ -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 )
{
Expand Down
2 changes: 1 addition & 1 deletion src/providers/geonode/qgsgeonodenewconnection.h
Expand Up @@ -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:

Expand Down
2 changes: 1 addition & 1 deletion src/providers/wfs/qgswfsnewconnection.h
Expand Up @@ -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:
Expand Down

0 comments on commit 7462b64

Please sign in to comment.