Skip to content

Commit

Permalink
Move preprocessors to cpp file
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent committed Jun 21, 2021
1 parent 7ec671a commit 1163d29
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion src/core/network/qgsnetworkaccessmanager.cpp
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions src/core/network/qgsnetworkaccessmanager.h
Expand Up @@ -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.