From 5bd376d3e1e40bf3bfe25bb8e45c5809e2d03c30 Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Fri, 25 Apr 2014 21:53:41 +0200 Subject: [PATCH 1/2] Update DONATIONS.txt --- DONATIONS.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DONATIONS.txt b/DONATIONS.txt index 34f1fc919..37de29d78 100644 --- a/DONATIONS.txt +++ b/DONATIONS.txt @@ -380,4 +380,4 @@ Thos. O'Meara Photography Adam Chevalier Mike Mulligan Gordon Stahl - +Serge Michaux From 812242f010c605f0808f8fd3025bf2bc388339b1 Mon Sep 17 00:00:00 2001 From: bsongis Date: Fri, 25 Apr 2014 22:10:56 +0200 Subject: [PATCH 2/2] Fixes #1011 --- companion/src/mdichild.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/companion/src/mdichild.cpp b/companion/src/mdichild.cpp index cd21dd2f0..0fccbf92a 100644 --- a/companion/src/mdichild.cpp +++ b/companion/src/mdichild.cpp @@ -674,8 +674,8 @@ void MdiChild::print(int model, QString filename) } if (pd) { + pd->setAttribute(Qt::WA_DeleteOnClose, true); pd->show(); - delete pd; } }