summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qvariant.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2020-07-06 21:52:06 +0200
committerLars Knoll <lars.knoll@qt.io>2020-08-24 00:17:03 +0200
commitef6c5f29aba901042513dbd90dfb638033b3edca (patch)
treec5c3401b0bc772aa88fe9e6c2e3ef839bc72cdb2 /src/corelib/kernel/qvariant.h
parented8acbeb7c6fd137486b5c8a6eec58a3b9db862c (diff)
Get rid of the custom debug stream handling in QVariant
Use the builtin support in QMetaType instead. Change-Id: Ifc0e88719a384aa7fb525652bada22b6f7ee1c45 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/corelib/kernel/qvariant.h')
-rw-r--r--src/corelib/kernel/qvariant.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/corelib/kernel/qvariant.h b/src/corelib/kernel/qvariant.h
index c8042b5ab1..ed54eaee2b 100644
--- a/src/corelib/kernel/qvariant.h
+++ b/src/corelib/kernel/qvariant.h
@@ -469,10 +469,8 @@ class Q_CORE_EXPORT QVariant
};
public:
typedef bool (*f_convert)(const QVariant::Private *d, int t, void *, bool *);
- typedef void (*f_debugStream)(QDebug, const QVariant &);
struct Handler {
f_convert convert;
- f_debugStream debugStream;
};
inline bool operator==(const QVariant &v) const