add: app.disableSessionManagement();
context: int main(int argc, char **argv){  KLocale::setMainCatalogue("korgac");  KAboutData aboutData("korgac", I18N_NOOP("KOrganizer Alarm Client"),      korgacVersion, I18N_NOOP("KOrganizer Alarm Client"), KAboutData::License_GPL,      "(c) 2001 Cornelius Schumacher\n"      "(c) 2001 David Jarvie <software@astrojar.org.uk>",      0, "http://pim.kde.org");  aboutData.addAuthor("Cornelius Schumacher",I18N_NOOP("Maintainer"),                      "schumacher@kde.org");  aboutData.addAuthor("David Jarvie",0,                      "software@astrojar.org.uk");  KCmdLineArgs::init(argc,argv,&aboutData);  KCmdLineArgs::addCmdLineOptions(options);  KUniqueApplication::addCmdLineOptions();  if (!MyApp::start())    exit(0);  MyApp app;  return app.exec();}