bug-fix: could not quit VNote in KDE

This commit is contained in:
Le Tan 2018-03-09 22:47:00 +08:00
parent 469f4b43cc
commit d404360fee

View File

@ -2151,6 +2151,7 @@ void VMainWindow::closeEvent(QCloseEvent *event)
}
QMainWindow::closeEvent(event);
qApp->quit();
} else {
hide();
event->ignore();