Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Tiny bit of extra safety
  • Loading branch information
nyalldawson authored and nirvn committed May 13, 2019
1 parent 6251853 commit 2a8c8b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/auth/oauth2/qgsauthoauth2method.cpp
Expand Up @@ -156,7 +156,7 @@ bool QgsAuthOAuth2Method::updateNetworkRequest( QNetworkRequest &request, const
o2->refresh();

// block request update until asynchronous linking loop is quit
rloop.exec();
rloop.exec( QEventLoop::ExcludeUserInputEvents );

// refresh result should set o2 to (un)linked
}
Expand Down
2 changes: 1 addition & 1 deletion src/auth/oauth2/qgso2.h
Expand Up @@ -76,7 +76,7 @@ class QgsO2: public O2

protected:

QNetworkAccessManager* getManager() override;
QNetworkAccessManager *getManager() override;

signals:

Expand Down

0 comments on commit 2a8c8b0

Please sign in to comment.