Skip to content
Permalink
Browse files
Move preprocessors to cpp file
  • Loading branch information
mhugent committed Jun 21, 2021
1 parent 7ec671a commit 1163d296e93e038ef24e781989de413d47c530e6
Showing with 1 addition and 4 deletions.
  1. +1 −1 src/core/network/qgsnetworkaccessmanager.cpp
  2. +0 −3 src/core/network/qgsnetworkaccessmanager.h
@@ -54,7 +54,7 @@

QgsNetworkAccessManager *QgsNetworkAccessManager::sMainNAM = nullptr;

std::vector< std::pair< QString, std::function< void( QNetworkRequest * ) > > > QgsNetworkAccessManager::sCustomPreprocessors;
static std::vector< std::pair< QString, std::function< void( QNetworkRequest * ) > > > sCustomPreprocessors;

/// @cond PRIVATE
class QgsNetworkProxyFactory : public QNetworkProxyFactory
@@ -823,9 +823,6 @@ class CORE_EXPORT QgsNetworkAccessManager : public QNetworkAccessManager
QMutex mAuthRequestHandlerMutex;
// only in use by worker threads, unused in main thread
QWaitCondition mAuthRequestWaitCondition;

static std::vector< std::pair< QString, std::function< void( QNetworkRequest * ) > > > sCustomPreprocessors;

};

#endif // QGSNETWORKACCESSMANAGER_H

0 comments on commit 1163d29

Please sign in to comment.