summaryrefslogtreecommitdiffstats
path: root/src/core/net
diff options
context:
space:
mode:
authorJüri Valdmann <juri.valdmann@qt.io>2020-07-21 10:25:26 +0200
committerJüri Valdmann <juri.valdmann@qt.io>2020-07-21 14:46:49 +0200
commitfa3b416ca4993c11bee91e1c52ef4aea8ad4438a (patch)
tree1339b458b9974bba95a3e8d93ed0ec947ac32fcf /src/core/net
parent603a1809481eb4d4ca972f0f64915d29fb99f53b (diff)
Stop re-enabling warnings disabled by Chromium
Adding -Wall after -Wno-x will undo the -Wno-x. Change-Id: I223b40e495d762d2420b519f080792bca8e71bdd Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'src/core/net')
-rw-r--r--src/core/net/cookie_monster_delegate_qt.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/core/net/cookie_monster_delegate_qt.h b/src/core/net/cookie_monster_delegate_qt.h
index bcbbe4c52..c55bcff94 100644
--- a/src/core/net/cookie_monster_delegate_qt.h
+++ b/src/core/net/cookie_monster_delegate_qt.h
@@ -53,11 +53,6 @@
#include "qtwebenginecoreglobal_p.h"
-QT_WARNING_PUSH
-// For some reason adding -Wno-unused-parameter to QMAKE_CXXFLAGS has no
-// effect with clang, so use a pragma for these dirty chromium headers
-QT_WARNING_DISABLE_CLANG("-Wunused-parameter")
-
// We need to work around Chromium using 'signals' as a variable name in headers:
#ifdef signals
#define StAsH_signals signals
@@ -73,7 +68,6 @@ QT_WARNING_DISABLE_CLANG("-Wunused-parameter")
#define signals StAsH_signals
#undef StAsH_signals
#endif
-QT_WARNING_POP
#include <QNetworkCookie>
#include <QPointer>