Commit 3e990216 authored by Frederik Gladhorn's avatar Frederik Gladhorn

Fix spaces in error messages

Summary: Unlike qDebug there is no automatic space added in QTextStream/stderr.

Reviewers: #plasma, davidedmundson

Reviewed By: #plasma, davidedmundson

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D14167
parent 20c88fd9
......@@ -200,7 +200,7 @@ void Doctor::parsePositionalArgs()
if (output_id == -1) {
output_id = ops[1].toInt(&ok);
if (!ok) {
cerr << "Unable to parse output id" << ops[1] << endl;
cerr << "Unable to parse output id: " << ops[1] << endl;
qApp->exit(3);
return;
}
......@@ -234,7 +234,7 @@ void Doctor::parsePositionalArgs()
int x = _pos[0].toInt(&ok);
int y = _pos[1].toInt(&ok);
if (!ok) {
cerr << "Unable to parse position" << ops[3] << endl;
cerr << "Unable to parse position: " << ops[3] << endl;
qApp->exit(5);
return;
}
......@@ -280,7 +280,7 @@ void Doctor::parsePositionalArgs()
return;
}
} else {
cerr << "Unable to parse arguments" << op << endl;
cerr << "Unable to parse arguments: " << op << endl;
qApp->exit(2);
return;
}
......
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