summaryrefslogtreecommitdiffstats
path: root/kompare
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-05-09 10:24:09 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-05-09 10:24:09 -0500
commit39f8de9dd45abb975e52b3249b0d50b036b18cab (patch)
treebdbb55e2271158c26c1ea260ed2eb3c19c682a70 /kompare
parent29aba7b9100470c3318708d281a21b383630d59e (diff)
downloadtdesdk-39f8de9dd45abb975e52b3249b0d50b036b18cab.tar.gz
tdesdk-39f8de9dd45abb975e52b3249b0d50b036b18cab.zip
Fix Kompare process not exiting
This resovles Bug 259
Diffstat (limited to 'kompare')
-rw-r--r--kompare/kompare_shell.cpp2
1 files changed, 1 insertions, 1 deletions
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();
}
}