Skip to content

Commit ccb9a61

Browse files
committed
Add extra note to position kit's source()
1 parent ffded6f commit ccb9a61

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/quickgui/qgsquickpositionkit.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,10 @@ class QUICK_EXPORT QgsQuickPositionKit : public QObject
165165
//! \copydoc QgsQuickPositionKit::simulatePositionLongLatRad
166166
void setSimulatePositionLongLatRad( const QVector<double> &simulatePositionLongLatRad );
167167

168-
//! Returns pointer to the internal QGeoPositionInfoSource object used to receive GPS location.
168+
/**
169+
* Returns pointer to the internal QGeoPositionInfoSource object used to receive GPS location.
170+
* \note The returned pointer is only valid until sourceChanged() signal is emitted
171+
*/
169172
QGeoPositionInfoSource *source() const;
170173

171174
/**

0 commit comments

Comments
 (0)