k3process--
svn path=/trunk/KDE/kdebase/workspace/; revision=682899
This commit is contained in:
parent
f711ea836e
commit
a5bcef35f3
1 changed files with 5 additions and 5 deletions
|
@ -47,6 +47,7 @@
|
|||
#include <kapplication.h>
|
||||
#include <kdialog.h>
|
||||
#include <kglobal.h>
|
||||
#include <kprocess.h>
|
||||
#include <k3process.h>
|
||||
#include <QTabWidget>
|
||||
#include <QtDBus/QtDBus>
|
||||
|
@ -1693,12 +1694,11 @@ void KTranslucencyConfig::defaults()
|
|||
|
||||
bool KTranslucencyConfig::kompmgrAvailable()
|
||||
{
|
||||
bool ret;
|
||||
K3Process proc;
|
||||
KProcess proc;
|
||||
proc.setOutputChannelMode( KProcess::MergedChannels );
|
||||
proc.setStandardOutputFile( "/dev/null" );
|
||||
proc << "kompmgr" << "-v";
|
||||
ret = proc.start(K3Process::DontCare, K3Process::AllOutput);
|
||||
proc.detach();
|
||||
return ret;
|
||||
return proc.startDetached() != 0;
|
||||
}
|
||||
|
||||
void KTranslucencyConfig::showWarning(bool alphaActivated)
|
||||
|
|
Loading…
Reference in a new issue