main: Add the ability to disable the web applet

This should only be used for Super Mario 3D All-Stars. This is a temporary solution until it can be implemented properly.
This commit is contained in:
Morph
2020-11-30 10:34:18 -05:00
parent 8b95bf041d
commit 2ddd83cdfe
2 changed files with 27 additions and 0 deletions

View File

@ -325,6 +325,9 @@ private:
// Last game booted, used for multi-process apps
QString last_filename_booted;
// Disables the web applet for the rest of the emulated session
bool disable_web_applet{};
protected:
void dropEvent(QDropEvent* event) override;
void dragEnterEvent(QDragEnterEvent* event) override;