[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: kdenetwork/knewsticker
From:       David Faure <david () mandrakesoft ! com>
Date:       2001-03-05 14:54:56
[Download RAW message or body]

On Monday 05 March 2001 14:33, CVS by raabe wrote:
> kdenetwork/knewsticker newssource.cpp,1.31,1.32
> Author: raabe
> Mon Mar  5 14:33:51 UTC 2001
> In directory cvs.kde.org:/var/tmp/cvs-serv25046
> 
> Modified Files:
> 	newssource.cpp 
> Log Message:
> - Hmmm, added support for kfmclient (feels still way slower than the current
>   approach, even though I configured it to use one Konqueror process only). It's
>   still commented out, as I don't trust it really but perhaps I just missed
>   something with:
> 
> 	QStringList args;
> 	args << "openURL" << _address.url() << "text/html";
> 	kapp->kdeinitExec(KGlobal::dirs()->findResource("exe", "kfmclient"), args);

Oh but you're making kdeinit launch the kfmclient process, not "forking and using the lib".
Try
kapp->startServiceByDesktopPath("kfmclient_html.desktop", _address);

-- 
David FAURE, david@mandrakesoft.com, faure@kde.org
http://perso.mandrakesoft.com/~david/, http://www.konqueror.org/
KDE, Making The Future of Computing Available Today

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic