On Wednesday 30 January 2008, Marc Haber wrote: > On Sat, Nov 24, 2007 at 11:13:45AM +0100, Marc Haber wrote: > > On Sat, Sep 29, 2007 at 10:20:59AM +0200, Marc Haber wrote: > > > klaptopdaemon does not show the "Hibernate" menu items with recent > > > kernels. This is upstream Bug #148928. > > > > Still applies for 3.5.8-1. I have not yet tried whether the patch > > still helps. > > The attached patch is verified to fix 3.5.8-1. Please apply.
I have tried reading and understanding this patch - and I don't get at all why it works. Unless this hunk does it all the magic by it self, I kind of having a hard time figuring out why this works. if (p.exists() && p.open(IO_ReadOnly)) { + QTextStream stream(&p); QString l; - p.readLine(l,500); + l = stream.readLine(); QStringList ll = QStringList::split(' ',l,false); for (QValueListIterator<QString> i = ll.begin(); i!=ll.end(); i++) { Someone, please enlighten me ;) /Sune -- Genius, I cannot log from a pin on the Web site, how does it work? You can never unlink a pointer of the cable but then from Internet Explorer 9000 you need to send the parallel SCSI front-end to the 3-inch terminale of a secret password.
signature.asc
Description: This is a digitally signed message part.