Skip to content
Permalink
Browse files
fix SIP condition
  • Loading branch information
3nids committed Jun 24, 2021
1 parent 51f25b7 commit 144098b905052ac363b17b92cc02ebdac52e9e83
Showing with 5 additions and 3 deletions.
  1. +2 −2 python/core/auto_generated/auth/qgsauthmethod.sip.in
  2. +3 −1 src/core/auth/qgsauthmethod.h
@@ -40,14 +40,14 @@ Increment this if method is significantly updated, allow updater code to be writ
%End



%If (HAVE_GUI)

virtual QWidget *editWidget( QWidget *parent ) const;
%End
%Docstring
Constructs the configuration for the authentication method

.. versionadded:: 3.22
%End
%End

QgsAuthMethod::Expansions supportedExpansions() const;
@@ -70,12 +70,14 @@ class CORE_EXPORT QgsAuthMethod : public QObject


#ifdef HAVE_GUI
SIP_IF_FEATURE( HAVE_GUI )

/**
* Constructs the configuration for the authentication method
* \since QGIS 3.22
*/
virtual QWidget *editWidget( QWidget *parent ) const SIP_WHEN_FEATURE( HAVE_GUI );
virtual QWidget *editWidget( QWidget *parent ) const;
SIP_END
#endif

/**

0 comments on commit 144098b

Please sign in to comment.