From e08d232b467e4491700502f0bff14f08521f2693 Mon Sep 17 00:00:00 2001 From: John Corey Date: Sun, 24 Oct 1999 16:29:51 +0000 Subject: [PATCH] How about this route to fix konsole then? svn path=/trunk/kdebase/konsole/; revision=31703 --- src/main.C | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main.C b/src/main.C index 06a5b222..75fb470f 100644 --- a/src/main.C +++ b/src/main.C @@ -998,6 +998,7 @@ int main(int argc, char* argv[]) { setuid(getuid()); setgid(getgid()); // drop privileges + KInstance *inst = new KInstance("konsole"); kimgioRegister(); // add io for additional image formats // deal with shell/command //////////////////////////// @@ -1072,7 +1073,9 @@ int main(int argc, char* argv[]) m->show(); } - return a.exec(); + int r = a.exec(); + delete inst; + return r; } #include "main.moc"