summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-06-11 16:29:38 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-06-11 16:46:17 -0500
commit82b90cbe47de50376e2f5be6045f1624d1938848 (patch)
tree28883279e24483567b9cd49c81bc81f8e1fc3519
parented123019baadb34c9507ebe0bf347ecd679d994b (diff)
downloadtdebase-82b90cbe47de50376e2f5be6045f1624d1938848.tar.gz
tdebase-82b90cbe47de50376e2f5be6045f1624d1938848.zip
Fix failure to start kompmgr from control panel
-rw-r--r--twin/workspace.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/twin/workspace.cpp b/twin/workspace.cpp
index fe088af54..4dd5113ed 100644
--- a/twin/workspace.cpp
+++ b/twin/workspace.cpp
@@ -1131,6 +1131,12 @@ void Workspace::slotReconfigure()
else
{
stopKompmgr();
+ if (!kompmgr)
+ {
+ kompmgr = new TDEProcess;
+ connect(kompmgr, TQT_SIGNAL(receivedStderr(TDEProcess*, char*, int)), TQT_SLOT(handleKompmgrOutput(TDEProcess*, char*, int)));
+ *kompmgr << "kompmgr";
+ }
TQTimer::singleShot( 200, this, TQT_SLOT(startKompmgr()) ); // wait some time to ensure system's ready for restart
}
}