Commit 94d11eb6 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use true here

parent 64bf4166
Pipeline #60533 passed with stage
in 8 minutes and 20 seconds
......@@ -118,7 +118,7 @@ void KioLogFileReader::dataReceived(KIO::Job *job, const QByteArray &data)
void KioLogFileReader::emitCompleteLines()
{
int endLinePos = mBuffer.indexOf(QLatin1String("\n"));
while (1) {
while (true) {
if (endLinePos == -1) {
break;
}
......
......@@ -203,7 +203,7 @@ void ProcessOutputLogFileReader::logFileModified()
// Parse buffer
int endLinePos = d->mBuffer.indexOf(QLatin1String("\n"));
while (1) {
while (true) {
if (endLinePos == -1) {
break;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment