summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2016-09-11 18:47:43 (GMT)
committerRalf Habacker <ralf.habacker@freenet.de>2016-09-11 18:47:43 (GMT)
commit42150620b4db1fff4997276ff51ee3bdaffd279f (patch)
tree70bb80fd528a36e341280d441edd3345ee445eee
parente43b4c195246ceab3f12fe11260fb91cd1f81dd1 (diff)
Clean log windows on document close.
-rw-r--r--umbrello/umldoc.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/umbrello/umldoc.cpp b/umbrello/umldoc.cpp
index ce5c1e8..b88b3e1 100644
--- a/umbrello/umldoc.cpp
+++ b/umbrello/umldoc.cpp
@@ -79,6 +79,7 @@
#if QT_VERSION >= 0x050000
#include <QInputDialog>
#endif
+#include <QListWidget>
#if QT_VERSION >= 0x050000
#include <QMimeDatabase>
#endif
@@ -393,6 +394,7 @@ void UMLDoc::closeDocument()
if (dw) {
dw->reset();
}
+ UMLApp::app()->logWindow()->clear();
UMLListView *listView = UMLApp::app()->listView();
if (listView) {