summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qguivariant.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2020-06-04 13:21:08 +0200
committerLars Knoll <lars.knoll@qt.io>2020-06-06 17:19:02 +0200
commit3615a5813af10c123069a0c3b16dc66d4416fd1c (patch)
tree256fd34db5cbb44b2e58beec4579b00f0cf821a2 /src/gui/kernel/qguivariant.cpp
parentccbf6ae0bbddff0001c7810934c8f15a8f50c2bb (diff)
Remove unused function pointers in QVariant::Handler
Task-number: QTBUG-84635 Change-Id: Icfbd1aae26b0453426d93e0af64d84d6403b8e3b Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/gui/kernel/qguivariant.cpp')
-rw-r--r--src/gui/kernel/qguivariant.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/gui/kernel/qguivariant.cpp b/src/gui/kernel/qguivariant.cpp
index e0e0d11ae3..565e91d662 100644
--- a/src/gui/kernel/qguivariant.cpp
+++ b/src/gui/kernel/qguivariant.cpp
@@ -306,17 +306,12 @@ static void streamDebug(QDebug dbg, const QVariant &v)
const QVariant::Handler qt_gui_variant_handler = {
isNull,
-#ifndef QT_NO_DATASTREAM
- nullptr,
- nullptr,
-#endif
compare,
convert,
- nullptr,
#if !defined(QT_NO_DEBUG_STREAM)
streamDebug
#else
- 0
+ nullptr
#endif
};