Changed default and white themes to show a speed camera warning image. Small fix...
[jspeed] / src / poialerts.h
index a8ba9fe..828bda1 100644 (file)
@@ -32,7 +32,7 @@ class PoiAlerts : public QObject
 
 public:
     static int const POI_ALERT_INTERVAL = 120;
-    static int const IN_ROUTE_MARGIN = 20;
+    static int const IN_ROUTE_MARGIN = 22;
     static PoiAlerts& instance();
     static QString getPoiDir();
     ~PoiAlerts();
@@ -69,7 +69,6 @@ private:
     double distance_;
     double travelled_;
     PoiReader::Poi* currentPoi_;
-    double currentDistance_;
     bool loaded_;
     QString error_;