summaryrefslogtreecommitdiff
path: root/src/search/SearchModel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/search/SearchModel.cpp')
-rw-r--r--src/search/SearchModel.cpp4
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();