From 3c707d8e31b4f38f9b7f6a9f4933c27bfad742e3 Mon Sep 17 00:00:00 2001 From: Mike Date: Tue, 11 Jul 2023 23:12:59 -0700 Subject: [PATCH] Cleanup --- client/lobby/SelectionTab.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/client/lobby/SelectionTab.cpp b/client/lobby/SelectionTab.cpp index 7681666d3..64bf8bc95 100644 --- a/client/lobby/SelectionTab.cpp +++ b/client/lobby/SelectionTab.cpp @@ -415,7 +415,7 @@ void SelectionTab::select(int position) rememberCurrentSelection(); if(inputName && inputName->isActive()) - { + { auto filename = *CResourceHandler::get("local")->getResourceName(ResourceID(curItems[py]->fileURI, EResType::CLIENT_SAVEGAME)); inputName->setText(filename.stem().string()); } @@ -444,9 +444,6 @@ void SelectionTab::updateListItems() // elemIdx is the index of the maps or saved game to display on line 0 // slider->capacity contains the number of available screen lines // slider->positionsAmnt is the number of elements after filtering - - logGlobal->trace("updateListItems called, selectionPos: %d", selectionPos); - int elemIdx = slider->getValue(); for(auto item : listItems) {