summaryrefslogtreecommitdiffstats
path: root/src/widgets/kernel/qwidgetsvariant.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/kernel/qwidgetsvariant.cpp')
-rw-r--r--src/widgets/kernel/qwidgetsvariant.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/widgets/kernel/qwidgetsvariant.cpp b/src/widgets/kernel/qwidgetsvariant.cpp
index 51e2130433..27d4d9e2fe 100644
--- a/src/widgets/kernel/qwidgetsvariant.cpp
+++ b/src/widgets/kernel/qwidgetsvariant.cpp
@@ -71,21 +71,6 @@ static const struct : QMetaTypeModuleHelper
default: return nullptr;
}
}
-#ifndef QT_NO_DATASTREAM
- bool save(QDataStream &stream, int type, const void *data) const override {
- switch (type) {
- QT_FOR_EACH_STATIC_WIDGETS_CLASS(QT_METATYPE_DATASTREAM_SAVE)
- default: return false;
- }
- }
- bool load(QDataStream &stream, int type, void *data) const override {
- switch (type) {
- QT_FOR_EACH_STATIC_WIDGETS_CLASS(QT_METATYPE_DATASTREAM_LOAD)
- default: return false;
- }
- }
-#endif
-
} qVariantWidgetsHelper;