Skip to content
Permalink
Browse files

Tiny bit of extra safety

  • Loading branch information
nyalldawson committed May 9, 2019
1 parent 9cde654 commit f56429a392a37080b7fdacbd26a33187dacc5f28
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/auth/oauth2/qgsauthoauth2method.cpp
  2. +1 −1 src/auth/oauth2/qgso2.h
@@ -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
}
@@ -76,7 +76,7 @@ class QgsO2: public O2

protected:

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

signals:

0 comments on commit f56429a

Please sign in to comment.
You can’t perform that action at this time.