Fixed Engine::hasFeature to use proper types (i.e., MetaEngine::MetaEngineFeature instead of int)
svn-id: r34731
This commit is contained in:
parent
b178332e3e
commit
84229ee79c
3 changed files with 7 additions and 6 deletions
|
@ -103,8 +103,7 @@ MainMenuDialog::MainMenuDialog(Engine *engine)
|
|||
new GUI::ButtonWidget(this, "globalmain_about", "About", kAboutCmd, 'A');
|
||||
|
||||
_rtlButton = new GUI::ButtonWidget(this, "globalmain_rtl", "Return to Launcher", kRTLCmd, 'R');
|
||||
// '0' corresponds to the kSupportsRTL MetaEngineFeature
|
||||
_rtlButton->setEnabled(_engine->hasFeature(0));
|
||||
_rtlButton->setEnabled(_engine->hasFeature(MetaEngine::kSupportsRTL));
|
||||
|
||||
|
||||
new GUI::ButtonWidget(this, "globalmain_quit", "Quit", kQuitCmd, 'Q');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue