summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qvariant.h
diff options
context:
space:
mode:
authorJędrzej Nowacki <jedrzej.nowacki@nokia.com>2012-01-13 15:20:17 +0100
committerQt by Nokia <qt-info@nokia.com>2012-01-18 08:53:03 +0100
commitf8696140b0543032eb46be176b32c99189bb039b (patch)
tree9934418c677e76a6f6d0cc603979068823be917c /src/corelib/kernel/qvariant.h
parent8fbad679e921b2b394c46fbf2c602216cdb2f209 (diff)
Fix visibility of QVariant functions.
Change "Refactor QVariant handlers." 08863b6fdaa8383e2274826db3ec42c4d4f11576 changed visibility of two methods; QVariant::create and QVariant::cmp. These methods are internal for Qt usage, but there is no need for breaking a dependent code. Change-Id: Ic3a7f95dea5fa3e697f0686ae5d32dade24f14df Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
Diffstat (limited to 'src/corelib/kernel/qvariant.h')
-rw-r--r--src/corelib/kernel/qvariant.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/kernel/qvariant.h b/src/corelib/kernel/qvariant.h
index 35c584fa51..12cc207131 100644
--- a/src/corelib/kernel/qvariant.h
+++ b/src/corelib/kernel/qvariant.h
@@ -380,7 +380,7 @@ protected:
#ifndef Q_NO_TEMPLATE_FRIENDS
template<typename T>
friend inline T qvariant_cast(const QVariant &);
-private:
+protected:
#else
public:
#endif