diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-01-20 22:07:49 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-01-20 22:07:49 (GMT) |
| commit | c8073657fcbfd1bfa72538d7babe4964857e7101 (patch) | |
| tree | f3488e993c9828121b2f89ed2f639d2ebbe54dc9 /src/search/SearchModel.cpp | |
| parent | c5e8b345219cd7d8ca4b0aa638f59a1fed2cd83b (diff) | |
| download | powder-c8073657fcbfd1bfa72538d7babe4964857e7101.zip powder-c8073657fcbfd1bfa72538d7babe4964857e7101.tar.gz | |
More stuff, need to fix memory leak
Diffstat (limited to 'src/search/SearchModel.cpp')
| -rw-r--r-- | src/search/SearchModel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/search/SearchModel.cpp b/src/search/SearchModel.cpp index 16a99d4..96d340a 100644 --- a/src/search/SearchModel.cpp +++ b/src/search/SearchModel.cpp @@ -7,12 +7,12 @@ SearchModel::SearchModel() { } -void SearchModel::UpdateSaveList() +void SearchModel::UpdateSaveList(std::string query) { lastError = ""; saveList.clear(); notifySaveListChanged(); - saveList = Client::Ref().SearchSaves(0, 12, "", ""); + saveList = Client::Ref().SearchSaves(0, 12, query, ""); if(!saveList.size()) { lastError = Client::Ref().GetLastError(); |
