Commit 197de6d2 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use Qt::endl directly

parent 181d7e5c
......@@ -187,7 +187,7 @@ void Console::printSerializations()
QDir dir(path);
QStringList files = dir.entryList(QDir::Files);
qDebug() << "Number of files: " << files.count() << endl;
qDebug() << "Number of files: " << files.count() << Qt::endl;
QJsonDocument parser;
Q_FOREACH (const QString fileName, files) {
......@@ -203,7 +203,7 @@ void Console::printSerializations()
continue;
}
qDebug() << parser.toJson(QJsonDocument::Indented) << endl;
qDebug() << parser.toJson(QJsonDocument::Indented) << Qt::endl;
}
}
......
......@@ -46,7 +46,7 @@ void configReceived(KScreen::ConfigOperation *op)
console->printConfig();
console->monitorAndPrint();
} else if (command == QLatin1String("monitor")) {
QTextStream(stdout) << "Remember to enable KSRandR or KSRandR11 in kdebugdialog" << endl;
QTextStream(stdout) << "Remember to enable KSRandR or KSRandR11 in kdebugdialog" << Qt::endl;
// Print config so that we have some pivot data
console->printConfig();
console->monitor();
......
Supports Markdown
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