Skip to content

Commit

Permalink
fix bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Jun 23, 2021
1 parent 4db9a0c commit b0b22bb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/core/auto_generated/auth/qgsauthmethod.sip.in
Expand Up @@ -42,7 +42,7 @@ Increment this if method is significantly updated, allow updater code to be writ
%End


virtual QWidget *editWidget( QWidget *parent )const {Q_UNUSED( parent ) return 0;}
virtual QWidget *editWidget( QWidget *parent ) const;

QgsAuthMethod::Expansions supportedExpansions() const;
%Docstring
Expand Down
2 changes: 2 additions & 0 deletions src/core/auth/qgsauthmethod.cpp
Expand Up @@ -16,6 +16,8 @@

#include "qgsauthmethod.h"

QWidget *QgsAuthMethod::editWidget( QWidget *parent ) const {Q_UNUSED( parent ) return nullptr;}

QgsAuthMethod::QgsAuthMethod()
#if QT_VERSION < QT_VERSION_CHECK(5, 14, 0)
: mMutex( QMutex::RecursionMode::Recursive )
Expand Down
2 changes: 1 addition & 1 deletion src/core/auth/qgsauthmethod.h
Expand Up @@ -71,7 +71,7 @@ class CORE_EXPORT QgsAuthMethod : public QObject


#ifdef HAVE_GUI
virtual QWidget *editWidget( QWidget *parent ) const {Q_UNUSED( parent ) return nullptr;}
virtual QWidget *editWidget( QWidget *parent ) const;
#endif

/**
Expand Down

0 comments on commit b0b22bb

Please sign in to comment.