X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=MainApp.cpp;h=a7feede51993e45bfca0cd03ea99370f5390907d;hb=b266e59f1140951fd946dadcf485bce40530b16b;hp=d5de395f69645a72049583f2c980034e8a4191cb;hpb=ededa7e3ef24a8cea9e513fa008ef481c1675457;p=apps%2Fpoi-yelp.git diff --git a/MainApp.cpp b/MainApp.cpp index d5de395..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())); @@ -273,6 +272,10 @@ void MainApp::textAdded(const QString & text) { mutex.lock(); lineEdit.setText(lineEdit.text() + text); + + // be sure any text is visible on initial input + lineEdit.setVisible(true); + mutex.unlock(); } @@ -927,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(); } @@ -985,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();