fix #16713: on windows, copy text and exit causes crash

This commit is contained in:
lasconic 2012-06-11 16:26:37 +02:00
parent 1f33406d3b
commit cb279b1a3b

View file

@ -270,7 +270,7 @@ void MuseScore::closeEvent(QCloseEvent* ev)
ev->accept();
if (preferences.dirty)
preferences.write();
// this->deleteLater(); !?
this->deleteLater(); //this is necessary on windows http://musescore.org/node/16713
qApp->quit();
}