Fix occasional crash in Geoclue plugin.
authorAaron McCarthy <aaron.mccarthy@jollamobile.com>
Tue, 5 Nov 2013 07:20:16 +0000 (17:20 +1000)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 7 Nov 2013 00:41:35 +0000 (01:41 +0100)
commite3db0e405d771e11fa6b4f98d39e90b32db9d612
tree6b065a333ca65ac788c8c0c8114616cc67245989
parent73bb77dc21ef3d9d80563184e35fd2eb00c7b55b
Fix occasional crash in Geoclue plugin.

There is no need to create a DBus proxy object for Geoclue.Position when
the service name and path are empty.

Change-Id: I21ca2190aa929fa77e823c5cc7056ceb74f644eb
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
src/plugins/position/geoclue/qgeopositioninfosource_geocluemaster.cpp