Created
April 27, 2015 09:17
-
-
Save bbandix/a631e18415a56b3009de to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/core/location_provider_qt.cpp b/src/core/location_provider_qt.cpp | |
index d17fc3d..5b61e9d 100644 | |
--- a/src/core/location_provider_qt.cpp | |
+++ b/src/core/location_provider_qt.cpp | |
@@ -100,8 +100,7 @@ bool QtPositioningHelper::start(bool highAccuracy) | |
connect(m_positionInfoSource, &QGeoPositionInfoSource::positionUpdated, this, &QtPositioningHelper::updatePosition); | |
// disambiguate the error getter and the signal in QGeoPositionInfoSource. | |
- connect(m_positionInfoSource, static_cast<void (QGeoPositionInfoSource::*)(QGeoPositionInfoSource::Error)>(&QGeoPositionInfoSource::error) | |
- , this, &QtPositioningHelper::error); | |
+ connect(m_positionInfoSource, SIGNAL(error(QGeoPositionInfoSource::Error)), this, SLOT(error(QGeoPositionInfoSource::Error))); | |
connect(m_positionInfoSource, &QGeoPositionInfoSource::updateTimeout, this, &QtPositioningHelper::timeout); | |
m_positionInfoSource->startUpdates(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment