call readLine() without arg to be set maxlen=0 as default

Qt dev overloads readline()

call to member function 'readLine' is ambiguous

Thanks to Takahiro Hashimoto for report and fix

BUG: 343851
wilder-portage
Kurt Hindenburg 11 years ago
parent 959b7e3257
commit be2b2b4b2e
  1. 2
      src/ProcessInfo.cpp

@ -445,7 +445,7 @@ private:
QTextStream stream(&statusInfo);
QString statusLine;
do {
statusLine = stream.readLine(0);
statusLine = stream.readLine();
if (statusLine.startsWith(QLatin1String("Uid:")))
uidLine = statusLine;
} while (!statusLine.isNull() && uidLine.isNull());

Loading…
Cancel
Save