might help fix crashes on exit?

This commit is contained in:
Arisotura 2020-05-20 01:11:57 +02:00
parent 34133ef75c
commit a2f9472e5d

View File

@ -502,6 +502,7 @@ void MainWindowPanel::mouseMoveEvent(QMouseEvent* event)
MainWindow::MainWindow(QWidget* parent) : QMainWindow(parent)
{
setWindowTitle("melonDS " MELONDS_VERSION);
setAttribute(Qt::WA_DeleteOnClose);
QMenuBar* menubar = new QMenuBar();
{