[patch] KLockFile -- try harder

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Thu Jan 29 12:20:40 GMT 2009


> On Thu, Jan 29, 2009 at 03:40:33AM +0200, Nick Shaforostoff wrote:
> > > i think you forgot to add the autotests. :D
> >
> > Attached. All tests are passing.
> >
> > +#else
> > +    char hostname[256];
> > +    ::gethostname(hostname, sizeof(hostname));
> > +    
> > +    QFile f(QFile::encodeName(lockName));
ouch... read the docs please - QFile doesn't want a QByteArray.


Christian
-- 
NUR NOCH BIS 31.01.! GMX FreeDSL - Telefonanschluss + DSL 
für nur 16,37 EURO/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a




More information about the kde-core-devel mailing list