- m_location->stopUpdates();
- m_useFakeLocation=true;
- delete m_currentLocation;
- m_currentLocation = new Location( *fakeLocation );
- emit locationChanged( m_currentLocation );
+ q->stopGps();
+ q->setUseFakeLocation( true );
+ q->setCurrentLocation( fakeLocation );
+ emit locationChanged( q->currentLocation() );