From 82b90cbe47de50376e2f5be6045f1624d1938848 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 11 Jun 2013 16:29:38 -0500 Subject: Fix failure to start kompmgr from control panel --- twin/workspace.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'twin/workspace.cpp') 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 } } -- cgit v1.2.1