summaryrefslogtreecommitdiffstats
path: root/src/network/access/qhsts_p.h
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2018-09-27 11:08:55 +0200
committerLiang Qi <liang.qi@qt.io>2018-09-27 11:08:55 +0200
commitd0fcaa7eaaae85ddbf0a78efa59b341380c101a4 (patch)
tree9b3422ae33ef9dfcda0af228c56c3d2eeed7b0c3 /src/network/access/qhsts_p.h
parentf6ce2d42b3cbe049ebcf1a2349a5cd4dde2c6d24 (diff)
parent5e64957ee4162ecf4456306a530a68761c2b127f (diff)
Merge remote-tracking branch 'origin/5.11' into 5.12
Conflicts: src/corelib/global/qconfig-bootstrapped.h src/widgets/util/qcompleter.cpp Change-Id: I4f44f0f074982530f2f2e750ce696230b2754cf3
Diffstat (limited to 'src/network/access/qhsts_p.h')
-rw-r--r--src/network/access/qhsts_p.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/network/access/qhsts_p.h b/src/network/access/qhsts_p.h
index bc8708341d..c219d9eab5 100644
--- a/src/network/access/qhsts_p.h
+++ b/src/network/access/qhsts_p.h
@@ -69,8 +69,6 @@ QT_BEGIN_NAMESPACE
template<typename T> class QList;
template <typename T> class QVector;
-class QHstsStore;
-
class Q_AUTOTEST_EXPORT QHstsCache
{
public:
@@ -85,7 +83,9 @@ public:
QVector<QHstsPolicy> policies() const;
- void setStore(QHstsStore *store);
+#if QT_CONFIG(settings)
+ void setStore(class QHstsStore *store);
+#endif // QT_CONFIG(settings)
private:
@@ -119,7 +119,9 @@ private:
};
mutable std::map<HostName, QHstsPolicy> knownHosts;
+#if QT_CONFIG(settings)
QHstsStore *hstsStore = nullptr;
+#endif // QT_CONFIG(settings)
};
class Q_AUTOTEST_EXPORT QHstsHeaderParser