Skip to content

Commit

Permalink
[auth] Removed instance and ctor from bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Oct 26, 2017
1 parent 0bc33b1 commit bb73f0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
9 changes: 0 additions & 9 deletions python/core/auth/qgsauthmanager.sip
Expand Up @@ -736,16 +736,7 @@ Clear an authentication config from its associated authentication method cache

protected:

static QgsAuthManager *instance();
%Docstring
Enforce singleton pattern
.. note::

To set up the manager instance and initialize everything use QgsAuthManager.instance()->init()
:rtype: QgsAuthManager
%End

explicit QgsAuthManager();

};

Expand Down
4 changes: 2 additions & 2 deletions src/core/auth/qgsauthmanager.h
Expand Up @@ -650,9 +650,9 @@ class CORE_EXPORT QgsAuthManager : public QObject
* Enforce singleton pattern
* \note To set up the manager instance and initialize everything use QgsAuthManager::instance()->init()
*/
static QgsAuthManager *instance();
static QgsAuthManager *instance() SIP_SKIP;

explicit QgsAuthManager();
explicit QgsAuthManager() SIP_SKIP;

private:

Expand Down

0 comments on commit bb73f0d

Please sign in to comment.