// ======================= // PUBLIC FUNCTIONS // ======================= void WMProcess::startWM(){ inShutdown = false; QString cmd = setupWM(); this->start(cmd); ssaver->start("xscreensaver"); }
// ======================= // PUBLIC FUNCTIONS // ======================= void WMProcess::startWM(){ inShutdown = false; QString cmd = setupWM(); if(!isRunning()){this->start(cmd); } if(ssaver->state() == QProcess::NotRunning){ ssaver->start("xscreensaver -no-splash"); } }