projects
/
situare
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
44f1744
)
Small fix again.
author
Jussi Laitinen
<jupe@l3l7588.ixonos.local>
Thu, 9 Sep 2010 05:28:00 +0000
(08:28 +0300)
committer
Jussi Laitinen
<jupe@l3l7588.ixonos.local>
Thu, 9 Sep 2010 05:28:00 +0000
(08:28 +0300)
src/ui/locationsearchpanel.cpp
patch
|
blob
|
history
diff --git
a/src/ui/locationsearchpanel.cpp
b/src/ui/locationsearchpanel.cpp
index
8b7b4d0
..
e9fb481
100644
(file)
--- a/
src/ui/locationsearchpanel.cpp
+++ b/
src/ui/locationsearchpanel.cpp
@@
-128,9
+128,9
@@
LocationSearchPanel::LocationSearchPanel(QWidget *parent)
m_genericButtonsLayout->addWidget(searchLocationButton);
m_genericButtonsLayout->addWidget(m_clearLocationListButton);
m_genericButtonsLayout->addWidget(searchLocationButton);
m_genericButtonsLayout->addWidget(m_clearLocationListButton);
- readSettings();
showSearchHistoryListView();
showEmptyPanel(true);
showSearchHistoryListView();
showEmptyPanel(true);
+ readSettings();
}
LocationSearchPanel::~LocationSearchPanel()
}
LocationSearchPanel::~LocationSearchPanel()
@@
-163,6
+163,7
@@
void LocationSearchPanel::prependSearchHistory(QString searchString, QDateTime d
static int counter = 0;
showSearchHistoryListView();
static int counter = 0;
showSearchHistoryListView();
+ showEmptyPanel(false);
if (m_searchHistoryListView->count() >= SEARCH_HISTORY_LIMIT)
m_searchHistoryListView->removeLastItem();
if (m_searchHistoryListView->count() >= SEARCH_HISTORY_LIMIT)
m_searchHistoryListView->removeLastItem();
@@
-274,5
+275,4
@@
void LocationSearchPanel::showSearchHistoryListView()
m_resultsLabel->setText(tr("Search history:"));
m_clearLocationListButton->setDisabled(true);
m_searchHistoryListView->show();
m_resultsLabel->setText(tr("Search history:"));
m_clearLocationListButton->setDisabled(true);
m_searchHistoryListView->show();
- showEmptyPanel(false);
}
}