diff --git a/src/tracker.h b/src/tracker.h index c0805dc0..f3dcd7f6 100644 --- a/src/tracker.h +++ b/src/tracker.h @@ -139,7 +139,7 @@ private slots: double m_ascent; double m_descent; double m_maxSpeed; - bool m_busy; + volatile bool m_busy; QString m_recording; //std::vector m_routeSteps; //osmscout::RouteStep m_nextRouteStep; @@ -216,7 +216,7 @@ public slots: double m_ascent; double m_descent; - bool m_recording; + volatile bool m_recording; QList m_segment; QMutex m_lock; QSharedPointer m_file;