m_genericButtonsLayout->addWidget(searchLocationButton);
m_genericButtonsLayout->addWidget(m_clearLocationListButton);
- readSettings();
showSearchHistoryListView();
showEmptyPanel(true);
+ readSettings();
}
LocationSearchPanel::~LocationSearchPanel()
static int counter = 0;
showSearchHistoryListView();
+ showEmptyPanel(false);
if (m_searchHistoryListView->count() >= SEARCH_HISTORY_LIMIT)
m_searchHistoryListView->removeLastItem();
m_resultsLabel->setText(tr("Search history:"));
m_clearLocationListButton->setDisabled(true);
m_searchHistoryListView->show();
- showEmptyPanel(false);
}