Changed to QDbusInterface and QDBusMessage to be used only when running app in armel
authorlampehe-local <henri.lampela@ixonos.com>
Thu, 22 Jul 2010 07:52:45 +0000 (10:52 +0300)
committerlampehe-local <henri.lampela@ixonos.com>
Thu, 22 Jul 2010 07:52:45 +0000 (10:52 +0300)
Removed hardcoded route request

Reviewed by: Jussi Laitinen

src/engine/engine.cpp
src/routing/routingservice.cpp

index 035e793..059aca6 100644 (file)
@@ -132,9 +132,6 @@ SituareEngine::SituareEngine()
 
     m_mce = new MCE(this);
     connect(m_mce, SIGNAL(displayOff(bool)), this, SLOT(enablePowerSave(bool)));
-
-    /// @todo for testing, remove after real route start and end points are available
-    //m_routingService->requestRoute(QPointF(65.010193,25.509859), QPointF(65.015152, 25.46645));
 }
 
 SituareEngine::~SituareEngine()
index 8bedaf2..678145d 100644 (file)
@@ -126,7 +126,7 @@ void RoutingService::requestAuthorizationToken()
     QString uidPart = "?userid=";
     QByteArray rawData;
 
-#ifdef Q_WS_MAEMO_5
+#if defined(Q_WS_MAEMO_5) & defined(ARMEL)
     // get the device IMEI code
     QDBusInterface interface(SIM_DBUS_SERVICE, SIM_DBUS_PATH, SIM_DBUS_IFACE,
                              QDBusConnection::systemBus());