mirror of https://github.com/stella-emu/stella.git
removed two unused variables (fixes #856)
This commit is contained in:
parent
0d677d1a97
commit
181e02e3a5
|
@ -267,14 +267,13 @@ void LauncherDialog::addPathWidgets(int& ypos)
|
||||||
void LauncherDialog::addRomWidgets(int& ypos)
|
void LauncherDialog::addRomWidgets(int& ypos)
|
||||||
{
|
{
|
||||||
const bool bottomButtons = instance().settings().getBool("launcherbuttons");
|
const bool bottomButtons = instance().settings().getBool("launcherbuttons");
|
||||||
const int lineHeight = Dialog::lineHeight(),
|
const int fontWidth = Dialog::fontWidth(),
|
||||||
fontWidth = Dialog::fontWidth(),
|
VBORDER = Dialog::vBorder(),
|
||||||
VBORDER = Dialog::vBorder(),
|
HBORDER = Dialog::hBorder(),
|
||||||
HBORDER = Dialog::hBorder(),
|
VGAP = Dialog::vGap(),
|
||||||
VGAP = Dialog::vGap(),
|
buttonHeight = myUseMinimalUI
|
||||||
buttonHeight = myUseMinimalUI
|
? -VGAP * 2
|
||||||
? -VGAP * 2
|
: bottomButtons ? Dialog::buttonHeight() : -VGAP * 2;
|
||||||
: bottomButtons ? Dialog::buttonHeight() : -VGAP * 2;
|
|
||||||
int xpos = HBORDER;
|
int xpos = HBORDER;
|
||||||
WidgetArray wid;
|
WidgetArray wid;
|
||||||
|
|
||||||
|
|
|
@ -154,7 +154,6 @@ NavigationWidget::PathWidget::PathWidget(GuiObject* boss, CommandReceiver* targe
|
||||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
void NavigationWidget::PathWidget::setPath(const string& path)
|
void NavigationWidget::PathWidget::setPath(const string& path)
|
||||||
{
|
{
|
||||||
const int lineHeight = _font.getLineHeight();
|
|
||||||
const int fontWidth = _font.getMaxCharWidth();
|
const int fontWidth = _font.getMaxCharWidth();
|
||||||
int x = _x + fontWidth, w = _w;
|
int x = _x + fontWidth, w = _w;
|
||||||
FilesystemNode node(path);
|
FilesystemNode node(path);
|
||||||
|
|
Loading…
Reference in New Issue