summaryrefslogtreecommitdiffstats
path: root/src/network/access/qnetworkaccesscache.cpp
diff options
context:
space:
mode:
authorThiago Macieira <[email protected]>2023-05-12 08:33:15 -0700
committerThiago Macieira <[email protected]>2023-05-13 16:15:01 -0700
commitd26709cd8c0b09242f8b65bc1de696bcf87fad7c (patch)
tree0976380c53a2b870f424e328d888b0103fde4681 /src/network/access/qnetworkaccesscache.cpp
parentc257e518c161122625dc1b5e62742b6195d67f7a (diff)
Network: Remove Q_DECL_METATYPE_EXTERN for single-.cpp metatypes
These were added in commit 20e6a049fee48e876c8c6903101b58f918b5aab2 as a massive sweep of all Q_DECLARE_METATYPE, without thought as to whether they were actually needed or not. If they are used as a metatype in a single .cpp file, they don't need to be. Incidentally removes the entirely incorrect Q_NETWORK_EXPORT of QDnsLookupReply. Pick-to: 6.5 Change-Id: I3e3bfef633af4130a03afffd175e6f378f09a3aa Reviewed-by: Qt CI Bot <[email protected]> Reviewed-by: MÃ¥rten Nordheim <[email protected]>
Diffstat (limited to 'src/network/access/qnetworkaccesscache.cpp')
-rw-r--r--src/network/access/qnetworkaccesscache.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/network/access/qnetworkaccesscache.cpp b/src/network/access/qnetworkaccesscache.cpp
index 9a1a3d38065..2bc0e8fb708 100644
--- a/src/network/access/qnetworkaccesscache.cpp
+++ b/src/network/access/qnetworkaccesscache.cpp
@@ -14,9 +14,6 @@
QT_BEGIN_NAMESPACE
-QT_IMPL_METATYPE_EXTERN_TAGGED(QNetworkAccessCache::CacheableObject*,
- QNetworkAccessCache__CacheableObject_ptr)
-
enum ExpiryTimeEnum {
ExpiryTime = 120
};