NOISSUE clean up some bad/dead code
This commit is contained in:
parent
172ff47a65
commit
2b9017a69c
3 changed files with 16 additions and 22 deletions
|
@ -31,7 +31,7 @@ int main_gui(MultiMC &app)
|
|||
app.setApplicationTheme(MMC->settings()->get("ApplicationTheme").toString());
|
||||
|
||||
// show main window
|
||||
auto inst = app.instances()->getInstanceById(app.launchId);
|
||||
auto inst = app.instances()->getInstanceById(app.instanceIdToLaunch);
|
||||
if(inst)
|
||||
{
|
||||
return launchInstance(app, inst);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue