mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 13:59:52 +08:00
bug-fix: could not quit VNote in KDE
This commit is contained in:
parent
469f4b43cc
commit
d404360fee
@ -2151,6 +2151,7 @@ void VMainWindow::closeEvent(QCloseEvent *event)
|
||||
}
|
||||
|
||||
QMainWindow::closeEvent(event);
|
||||
qApp->quit();
|
||||
} else {
|
||||
hide();
|
||||
event->ignore();
|
||||
|
Loading…
x
Reference in New Issue
Block a user