summaryrefslogtreecommitdiffstats
path: root/shemov.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'shemov.cpp')
-rw-r--r--shemov.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/shemov.cpp b/shemov.cpp
index 9f9d1c0..23d4c54 100644
--- a/shemov.cpp
+++ b/shemov.cpp
@@ -190,6 +190,7 @@ void SheMov::closeEvent(QCloseEvent *event){
SmGlobals *globals = SmGlobals::instance();
delete globals;
QSqlDatabase::database("treedb").close();
+ qApp->closeAllWindows();
event->accept();
}