[Scummvm-git-logs] scummvm master -> dc66c05a40910b18ba828751d2bdd6fc1e98d733

orgads orgads at gmail.com
Sun Jul 11 08:17:04 UTC 2021


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
dc66c05a40 GUI: Remove unused member


Commit: dc66c05a40910b18ba828751d2bdd6fc1e98d733
    https://github.com/scummvm/scummvm/commit/dc66c05a40910b18ba828751d2bdd6fc1e98d733
Author: Orgad Shaneh (orgads at gmail.com)
Date: 2021-07-11T11:16:54+03:00

Commit Message:
GUI: Remove unused member

Changed paths:
    gui/launcher.cpp
    gui/launcher.h


diff --git a/gui/launcher.cpp b/gui/launcher.cpp
index 1d0011cbe0..388690afc7 100644
--- a/gui/launcher.cpp
+++ b/gui/launcher.cpp
@@ -156,7 +156,6 @@ void LauncherDialog::build() {
 		DropdownButtonWidget *addButton =
 			new DropdownButtonWidget(this, "Launcher.AddGameButton", _("~A~dd Game..."), _("Add games to the list"), kAddGameCmd);
 		addButton->appendEntry(_("Mass Add..."), kMassAddGameCmd);
-		_addButton = addButton;
 
 		_editButton =
 			new ButtonWidget(this, "Launcher.EditGameButton", _("~E~dit Game..."), _("Change game options"), kEditGameCmd);
@@ -166,7 +165,6 @@ void LauncherDialog::build() {
 		DropdownButtonWidget *addButton =
 			new DropdownButtonWidget(this, "Launcher.AddGameButton", _c("~A~dd Game...", "lowres"), _("Add games to the list"), kAddGameCmd);
 		addButton->appendEntry(_c("Mass Add...", "lowres"), kMassAddGameCmd);
-		_addButton = addButton;
 
 		_editButton =
 		new ButtonWidget(this, "Launcher.EditGameButton", _c("~E~dit Game...", "lowres"), _("Change game options"), kEditGameCmd);
diff --git a/gui/launcher.h b/gui/launcher.h
index b44ca91622..d44771e2e7 100644
--- a/gui/launcher.h
+++ b/gui/launcher.h
@@ -59,7 +59,6 @@ public:
 protected:
 	EditTextWidget  *_searchWidget;
 	ListWidget		*_list;
-	ButtonWidget	*_addButton;
 	Widget			*_startButton;
 	ButtonWidget	*_loadButton;
 	Widget			*_editButton;




More information about the Scummvm-git-logs mailing list