poi-yelp: remove unused allSessionsGot slot
[apps/poi-yelp.git] / MainApp.cpp
index 4bb10ba..a7feede 100644 (file)
@@ -98,7 +98,6 @@ MainApp::MainApp():QMainWindow(Q_NULLPTR, Qt::FramelessWindowHint),
     if (getenv("AGL_NAVI"))
         isAglNavi = true;
 
-    connect(this, SIGNAL(allSessionsGotSignal()), this, SLOT(allSessionsGot()));
     connect(this, SIGNAL(positionGotSignal()), this, SLOT(positionGot()));
     connect(this, SIGNAL(allRoutesGotSignal()), this, SLOT(allRoutesGot()));
     connect(this, SIGNAL(routeCreatedSignal()), this, SLOT(routeCreated()));
@@ -931,8 +930,6 @@ void MainApp::getAllSessions_reply(const std::map< uint32_t, std::string >& allS
     TRACE_INFO("Current session: %d", this->navicoreSession);
 
     mutex.unlock();
-
-    emit allSessionsGotSignal();
 }
 
 
@@ -989,15 +986,6 @@ void MainApp::createRoute_reply(uint32_t routeHandle)
     emit routeCreatedSignal();
 }
 
-void MainApp::allSessionsGot()
-{
-    mutex.lock();
-
-    // nothing to do
-
-    mutex.unlock();
-}
-
 void MainApp::positionGot()
 {
     mutex.lock();