remove unused QVariant::Handler members [ci reset]

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2022-06-08 19:44:37 +03:00
parent 7996e356b2
commit 319136cfd8
3 changed files with 0 additions and 16 deletions

View file

@ -955,10 +955,6 @@ static void streamDebug(QDebug dbg, const QVariant &v)
const QVariant::Handler qt_kernel_variant_handler = {
isNull,
#ifndef QT_NO_DATASTREAM
0,
0,
#endif
compare,
convert,
#if !defined(QT_NO_DEBUG_STREAM) && !defined(Q_BROKEN_DEBUG_STREAM)

View file

@ -270,19 +270,11 @@ class Q_CORE_EXPORT QVariant
public:
typedef bool (*f_null)(const QVariantPrivate *);
#ifndef QT_NO_DATASTREAM
typedef void (*f_load)(QVariantPrivate *, QDataStream &);
typedef void (*f_save)(const QVariantPrivate *, QDataStream &);
#endif
typedef bool (*f_compare)(const QVariantPrivate *, const QVariantPrivate *);
typedef bool (*f_convert)(const QVariantPrivate *d, int t, void *, bool *);
typedef void (*f_debugStream)(QDebug, const QVariant &);
struct Handler {
f_null isNull;
#ifndef QT_NO_DATASTREAM
f_load load;
f_save save;
#endif
f_compare compare;
f_convert convert;
f_debugStream debugStream;

View file

@ -394,10 +394,6 @@ static void streamDebug(QDebug dbg, const QVariant &v)
const QVariant::Handler qt_gui_variant_handler = {
isNull,
#ifndef QT_NO_DATASTREAM
0,
0,
#endif
compare,
convert,
#if !defined(QT_NO_DEBUG_STREAM) && !defined(Q_BROKEN_DEBUG_STREAM)