summaryrefslogtreecommitdiffstats
path: root/app/qcheapruler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'app/qcheapruler.cpp')
-rw-r--r--app/qcheapruler.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/app/qcheapruler.cpp b/app/qcheapruler.cpp
index 890fd63..0744dab 100644
--- a/app/qcheapruler.cpp
+++ b/app/qcheapruler.cpp
@@ -1,5 +1,4 @@
#include "qcheapruler.hpp"
-#include "naviapi_adaptor.h"
#include <QString>
@@ -98,12 +97,7 @@ void QCheapRuler::setPath(const QJSValue &value)
//init the route and postion info when start in the first time.(can be called by qml)
void QCheapRuler::initRouteInfo()
{
- //send "getRouteInfo" message to the navigation service
- QDBusMessage message = QDBusMessage::createSignal("/", "org.agl.naviapi", "getRouteInfo");
- if(!QDBusConnection::sessionBus().send(message))
- {
- qDebug() << "initRouteInfo" << "sessionBus.send(): getRouteInfo failed";
- }
+ // TODO: this may be needed to get initial route info
}
//init the CheapRuler class