summaryrefslogtreecommitdiffstats
path: root/src/widgets
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/widgets
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/widgets')
-rw-r--r--src/widgets/kernel/qwidgetsvariant.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/widgets/kernel/qwidgetsvariant.cpp b/src/widgets/kernel/qwidgetsvariant.cpp
index 45a3bb3f7a..15a48bf683 100644
--- a/src/widgets/kernel/qwidgetsvariant.cpp
+++ b/src/widgets/kernel/qwidgetsvariant.cpp
@@ -92,17 +92,12 @@ static void streamDebug(QDebug dbg, const QVariant &v)
static const QVariant::Handler widgets_handler = {
isNull,
-#ifndef QT_NO_DATASTREAM
- nullptr,
- nullptr,
-#endif
compare,
convert,
- nullptr,
#if !defined(QT_NO_DEBUG_STREAM)
streamDebug
#else
- 0
+ nullptr
#endif
};