From: Matt Ranostay Date: Wed, 16 Oct 2019 11:12:28 +0000 (-0700) Subject: poi-yelp: remove unused allSessionsGot slot X-Git-Tag: 8.99.1~5 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=387e8bfa063d5c3038907b56c121916741c5dc10;hp=8aaa6c7782cdfa39368c1f91515d0b96b59cea58;p=apps%2Fpoi-yelp.git poi-yelp: remove unused allSessionsGot slot Part of the effort to cleanup DBus usage for navigation to JSON events remove all unused sections of the application. Bug-AGL: SPEC-2880 Change-Id: Ie6bebb5e4e935676ca57c3fa5c6826a28d01d4df Signed-off-by: Matt Ranostay --- diff --git a/MainApp.cpp b/MainApp.cpp index 4bb10ba..a7feede 100644 --- a/MainApp.cpp +++ b/MainApp.cpp @@ -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(); diff --git a/MainApp.h b/MainApp.h index 7e80c32..0f3d174 100644 --- a/MainApp.h +++ b/MainApp.h @@ -83,7 +83,6 @@ class MainApp: public QMainWindow, public naviapi::NavicoreListener void goClicked(); void cancelClicked(); - void allSessionsGot(); void positionGot(); void allRoutesGot(); void routeCreated();