From d482d671c44206ced1dd74ae65b4522b4fe57c56 Mon Sep 17 00:00:00 2001 From: Stephen Anthony Date: Sat, 26 Feb 2022 13:23:31 -0330 Subject: [PATCH] Eliminate redundant code. --- src/gui/LauncherDialog.cxx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gui/LauncherDialog.cxx b/src/gui/LauncherDialog.cxx index b6b5bb943..439655918 100644 --- a/src/gui/LauncherDialog.cxx +++ b/src/gui/LauncherDialog.cxx @@ -286,7 +286,6 @@ void LauncherDialog::addRomWidgets(int& ypos) const int listWidth = _w - (romWidth > 0 ? romWidth + fontWidth : 0) - HBORDER * 2; // remember initial ROM directory for returning there via home button - string romDir = getRomDir(); instance().settings().setValue("startromdir", getRomDir()); myList = new LauncherFileListWidget(this, _font, xpos, ypos, listWidth, listHeight); myList->setEditable(false);