Skip to content

Commit

Permalink
Tiny bit of extra safety
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed May 12, 2019
1 parent ae8a7ae commit 9e052fe
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class QgsO2: public O2

protected:

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

signals:

Expand Down

0 comments on commit 9e052fe

Please sign in to comment.