might help fix crashes on exit?
This commit is contained in:
parent
34133ef75c
commit
a2f9472e5d
|
@ -502,6 +502,7 @@ void MainWindowPanel::mouseMoveEvent(QMouseEvent* event)
|
||||||
MainWindow::MainWindow(QWidget* parent) : QMainWindow(parent)
|
MainWindow::MainWindow(QWidget* parent) : QMainWindow(parent)
|
||||||
{
|
{
|
||||||
setWindowTitle("melonDS " MELONDS_VERSION);
|
setWindowTitle("melonDS " MELONDS_VERSION);
|
||||||
|
setAttribute(Qt::WA_DeleteOnClose);
|
||||||
|
|
||||||
QMenuBar* menubar = new QMenuBar();
|
QMenuBar* menubar = new QMenuBar();
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue