Skip to content
Permalink
Browse files

Tiny bit of extra safety

  • Loading branch information
nyalldawson authored and nirvn committed May 9, 2019
1 parent 6251853 commit 2a8c8b0d7f6eb84e9015b36b63e0b883940e20fd
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 2a8c8b0

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