mirror of
https://github.com/86Box/86Box.git
synced 2026-02-27 17:34:25 -07:00
Remove the excess -mstackrealign and only run the Discord timer if Discord integration is enabled.
This commit is contained in:
@@ -2344,8 +2344,11 @@ MainWindow::on_actionEnable_Discord_integration_triggered(bool checked)
|
||||
if (enable_discord) {
|
||||
discord_init();
|
||||
discord_update_activity(dopause);
|
||||
} else
|
||||
discordupdate.start(1000);
|
||||
} else {
|
||||
discord_close();
|
||||
discordupdate.stop();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user