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

List:       kde-devel
Subject:    [patch] klaptopdaemon 3.5.x- missing hibernate menu with kernel >=
From:       "Fathi Boudra" <fboudra () gmail ! com>
Date:       2008-02-01 9:47:22
Message-ID: 6a2e33620802010147p206628efoe8102a4911ea7128 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


someone could ACK for the commit ?

[Attachment #5 (text/html)]

someone could ACK for the commit ?<br><br>

["missing_hibernate_menu.diff" (text/x-diff)]

--- a/portable.cpp
+++ b/portable.cpp
@@ -694,7 +694,8 @@
 
 		if (p.open(IO_ReadOnly)) {
 			QString l;
-			p.readLine(l,500);
+			QTextStream t(&p);
+			l = t.readline();
 			QStringList ll = QStringList::split(' ',l,false);
 			for (QValueListIterator<QString> i = ll.begin(); i!=ll.end(); i++) {
 				QString s = *i;
@@ -710,7 +711,8 @@
 		}
 		else if (f.open(IO_ReadOnly)) {
 			QString l;
-			f.readLine(l, 500);
+			QTextStream t(&f);
+			l = t.readline();
 			QStringList ll = QStringList::split(' ',l,false);
 			for (QValueListIterator<QString> i = ll.begin(); i!=ll.end(); i++) {
 				QString s = *i;


>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


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

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