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)
|
||||
{
|
||||
const bool bottomButtons = instance().settings().getBool("launcherbuttons");
|
||||
const int lineHeight = Dialog::lineHeight(),
|
||||
fontWidth = Dialog::fontWidth(),
|
||||
VBORDER = Dialog::vBorder(),
|
||||
HBORDER = Dialog::hBorder(),
|
||||
VGAP = Dialog::vGap(),
|
||||
buttonHeight = myUseMinimalUI
|
||||
? -VGAP * 2
|
||||
: bottomButtons ? Dialog::buttonHeight() : -VGAP * 2;
|
||||
const int fontWidth = Dialog::fontWidth(),
|
||||
VBORDER = Dialog::vBorder(),
|
||||
HBORDER = Dialog::hBorder(),
|
||||
VGAP = Dialog::vGap(),
|
||||
buttonHeight = myUseMinimalUI
|
||||
? -VGAP * 2
|
||||
: bottomButtons ? Dialog::buttonHeight() : -VGAP * 2;
|
||||
int xpos = HBORDER;
|
||||
WidgetArray wid;
|
||||
|
||||
|
|
|
@ -154,7 +154,6 @@ NavigationWidget::PathWidget::PathWidget(GuiObject* boss, CommandReceiver* targe
|
|||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
void NavigationWidget::PathWidget::setPath(const string& path)
|
||||
{
|
||||
const int lineHeight = _font.getLineHeight();
|
||||
const int fontWidth = _font.getMaxCharWidth();
|
||||
int x = _x + fontWidth, w = _w;
|
||||
FilesystemNode node(path);
|
||||
|
|
Loading…
Reference in New Issue