summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qvariant.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/kernel/qvariant.cpp')
-rw-r--r--src/corelib/kernel/qvariant.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/corelib/kernel/qvariant.cpp b/src/corelib/kernel/qvariant.cpp
index 7f750b38f2..01e12ee968 100644
--- a/src/corelib/kernel/qvariant.cpp
+++ b/src/corelib/kernel/qvariant.cpp
@@ -2886,21 +2886,6 @@ void* QVariant::data()
}
-#ifdef QT3_SUPPORT
-/*! \internal
- */
-void *QVariant::castOrDetach(Type t)
-{
- if (d.type != uint(t)) {
- if (!convert(t))
- create(t, 0);
- } else {
- detach();
- }
- return data();
-}
-#endif
-
/*!
Returns true if this is a NULL variant, false otherwise.
*/