summaryrefslogtreecommitdiff
path: root/src/imports/location/location.cpp
diff options
context:
space:
mode:
authorAaron McCarthy <aaron.mccarthy@nokia.com>2012-07-18 09:13:49 +1000
committerQt by Nokia <qt-info@nokia.com>2012-08-06 07:56:13 +0200
commit9747a86b53d09f6f659e92adeb99a4e44211e960 (patch)
treeacacec69e4813d698a6c305361fccd46a972e1e6 /src/imports/location/location.cpp
parent4bfea2a4cdb6445bb6e6f68f738a244bd4772fd1 (diff)
downloadqtlocation-9747a86b53d09f6f659e92adeb99a4e44211e960.tar.gz
Remove unneeded use of QT_PREPEND_NAMESPACE when declaring metatypes.
These were remnants from Qt Mobility which was in a different namespace. Q_DECLARE_METATYPE is already wrapped in QT_BEGIN_NAMESPACE and QT_END_NAMESPACE making these unnecessary. Move Q_DECLARE_OPERATORS_FOR_FLAGS inside the Qt namespace. Change-Id: I5827e506320ac0e10d02429d5af3cea12a1f16c1 Reviewed-by: Alex <alex.blasche@nokia.com>
Diffstat (limited to 'src/imports/location/location.cpp')
-rw-r--r--src/imports/location/location.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/imports/location/location.cpp b/src/imports/location/location.cpp
index 379621fc..965b09fc 100644
--- a/src/imports/location/location.cpp
+++ b/src/imports/location/location.cpp
@@ -171,7 +171,6 @@ public:
qRegisterMetaType<QPlaceUser>("QPlaceUser");
qRegisterMetaType<QPlaceAttribute>("QPlaceAttribute");
qRegisterMetaType<QPlaceContactDetail>("QPlaceContactDetail");
-
} else {
qDebug() << "Unsupported URI given to load location QML plugin: " << QLatin1String(uri);
}