Made small cosmetic changes to contact and back button images, removed btn suffix...
[situare] / src / ui / locationsearchpanel.cpp
index 8b8c87f..8b7b4d0 100644 (file)
@@ -116,9 +116,9 @@ LocationSearchPanel::LocationSearchPanel(QWidget *parent)
     connect(searchLocationButton, SIGNAL(clicked()),
             this, SIGNAL(requestSearchLocation()));
 
-    m_clearLocationListButton = new ImageButton(":/res/images/back_btn.png",
-                                                ":/res/images/back_btn_s.png",
-                                                ":/res/images/back_btn_d.png", this);
+    m_clearLocationListButton = new ImageButton(":/res/images/back.png",
+                                                ":/res/images/back_s.png",
+                                                ":/res/images/back_d.png", this);
     m_clearLocationListButton->setDisabled(true);
 
     connect(m_clearLocationListButton, SIGNAL(clicked()),
@@ -162,6 +162,8 @@ void LocationSearchPanel::prependSearchHistory(QString searchString, QDateTime d
     const int SEARCH_HISTORY_LIMIT = 10;
     static int counter = 0;
 
+    showSearchHistoryListView();
+
     if (m_searchHistoryListView->count() >= SEARCH_HISTORY_LIMIT)
         m_searchHistoryListView->removeLastItem();