diff options
author | 2019-10-16 04:12:28 -0700 | |
---|---|---|
committer | 2019-11-12 22:02:01 -0800 | |
commit | 11c7345f04b442f2761a79bb0b55fd1b284d1db4 (patch) | |
tree | 221c885918b01a408820b4fc101d218522d218d4 | |
parent | dd64470816b203a0f5a57e5884af51f260e72e41 (diff) |
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 <matt.ranostay@konsulko.com>
-rw-r--r-- | MainApp.cpp | 12 | ||||
-rw-r--r-- | MainApp.h | 1 |
2 files changed, 0 insertions, 13 deletions
diff --git a/MainApp.cpp b/MainApp.cpp index d5de395..31e4420 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())); @@ -927,8 +926,6 @@ void MainApp::getAllSessions_reply(const std::map< uint32_t, std::string >& allS TRACE_INFO("Current session: %d", this->navicoreSession); mutex.unlock(); - - emit allSessionsGotSignal(); } @@ -985,15 +982,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(); @@ -83,7 +83,6 @@ class MainApp: public QMainWindow, public naviapi::NavicoreListener void goClicked(); void cancelClicked(); - void allSessionsGot(); void positionGot(); void allRoutesGot(); void routeCreated(); |