summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qvariant.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@nokia.com>2011-06-28 23:43:58 +0200
committerQt by Nokia <qt-info@nokia.com>2011-06-29 15:10:14 +0200
commit03deed59ba31bd2e5ac1e799e0eb03cd4e8f5e41 (patch)
tree6379ef4c3ac2bdaa1d6e4e36662511a4026f5753 /src/corelib/kernel/qvariant.cpp
parent6fa1bbdce09bbbee2ea50b9360c821e54c81be51 (diff)
Remove the remaining QT3_SUPPORT code in corelib
Change-Id: I6641c62d75d2034a46ea7cc869ae65285ae8b8f4 Reviewed-on: http://codereview.qt.nokia.com/866 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Liang Qi <liang.qi@nokia.com>
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.
*/