summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2011-02-28 11:22:19 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2011-02-28 11:22:19 (GMT)
commit7858c1e457a0e47029e60339b863808356caafd6 (patch)
tree124d1eb712580ae26446218a5549cee7e92df115 /src
parent75939234d6f6ea046ebe525d671cd25d23675e1e (diff)
downloadQt-7858c1e457a0e47029e60339b863808356caafd6.zip
Qt-7858c1e457a0e47029e60339b863808356caafd6.tar.gz
Qt-7858c1e457a0e47029e60339b863808356caafd6.tar.bz2
Compile fix for Qt in namespace.
Reviewed-by: trustme
Diffstat (limited to 'src')
-rw-r--r--src/corelib/tools/qlocale_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/tools/qlocale_p.h b/src/corelib/tools/qlocale_p.h
index 636cc1d..2e95096 100644
--- a/src/corelib/tools/qlocale_p.h
+++ b/src/corelib/tools/qlocale_p.h
@@ -65,8 +65,6 @@ class CEnvironmentChangeNotifier;
QT_BEGIN_NAMESPACE
-Q_DECLARE_METATYPE(QStringRef)
-
struct Q_CORE_EXPORT QLocalePrivate
{
public:
@@ -262,4 +260,6 @@ void getLangAndCountry(const QString &name, QLocale::Language &lang, QLocale::Co
QT_END_NAMESPACE
+Q_DECLARE_METATYPE(QStringRef)
+
#endif // QLOCALE_P_H