From 39f8de9dd45abb975e52b3249b0d50b036b18cab Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 9 May 2013 10:24:09 -0500 Subject: Fix Kompare process not exiting This resovles Bug 259 --- kompare/kompare_shell.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kompare/kompare_shell.cpp b/kompare/kompare_shell.cpp index 2236b0a6..66c951c0 100644 --- a/kompare/kompare_shell.cpp +++ b/kompare/kompare_shell.cpp @@ -181,6 +181,7 @@ KompareShell::KompareShell() KompareShell::~KompareShell() { + kapp->deref(); } bool KompareShell::queryClose() @@ -425,7 +426,6 @@ void KompareShell::slotFileClose() if ( m_viewPart->queryClose() ) { delete this; - kapp->deref(); } } -- cgit v1.2.1