disabling loading of kded autoload modules if KDE desktop is not running

Richard Moore rich at xmelegance.org
Thu May 13 13:25:38 BST 2004


On Thu, May 13, 2004 at 02:10:59PM +0200, Waldo Bastian wrote:
> bool kde_running = ! QCString(getenv( "KDE_FULL_SESSION" )).isEmpty();
> 

IIRC getenv can return 0 which I think would make this call the wrong
QCString constructor.

Cheers

Rich.





More information about the kde-core-devel mailing list