|
|
@ -909,10 +909,9 @@ kgpgapplet::~kgpgapplet()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
KgpgAppletApp::KgpgAppletApp()
|
|
|
|
KgpgAppletApp::KgpgAppletApp()
|
|
|
|
: KUniqueApplication()//, kgpg_applet( 0 )
|
|
|
|
: KUniqueApplication(), running(false), kgpg_applet(NULL)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
running=false;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -951,6 +950,7 @@ int KgpgAppletApp::newInstance()
|
|
|
|
args = TDECmdLineArgs::parsedArgs();
|
|
|
|
args = TDECmdLineArgs::parsedArgs();
|
|
|
|
if (running) {
|
|
|
|
if (running) {
|
|
|
|
kdDebug(2100)<<"Already running"<<endl;
|
|
|
|
kdDebug(2100)<<"Already running"<<endl;
|
|
|
|
|
|
|
|
if(!kgpg_applet) return 0;
|
|
|
|
kgpg_applet->show();
|
|
|
|
kgpg_applet->show();
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
kdDebug(2100) << "Starting KGpg"<<endl;
|
|
|
|
kdDebug(2100) << "Starting KGpg"<<endl;
|
|
|
|