summaryrefslogtreecommitdiffstats
path: root/kgpg
diff options
context:
space:
mode:
Diffstat (limited to 'kgpg')
-rw-r--r--kgpg/kgpg.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kgpg/kgpg.cpp b/kgpg/kgpg.cpp
index 0d7acd2..0680965 100644
--- a/kgpg/kgpg.cpp
+++ b/kgpg/kgpg.cpp
@@ -909,10 +909,9 @@ kgpgapplet::~kgpgapplet()
}
KgpgAppletApp::KgpgAppletApp()
- : KUniqueApplication()//, kgpg_applet( 0 )
+ : KUniqueApplication(), running(false), kgpg_applet(NULL)
{
- running=false;
}
@@ -951,6 +950,7 @@ int KgpgAppletApp::newInstance()
args = TDECmdLineArgs::parsedArgs();
if (running) {
kdDebug(2100)<<"Already running"<<endl;
+ if(!kgpg_applet) return 0;
kgpg_applet->show();
} else {
kdDebug(2100) << "Starting KGpg"<<endl;