Commit 9cb7291e authored by Tobias Hunger's avatar Tobias Hunger

SDKtool: Append some newlines to error messages.

Change-Id: I3f3a962dfd6ed4aa27fcf21aab47a6476267817d
Reviewed-by: default avatarRainer Keller <rainer.keller@digia.com>
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent 9abb8563
......@@ -164,7 +164,7 @@ QVariantMap RmKitOperation::rmKit(const QVariantMap &map, const QString &id)
bool ok;
int count = GetOperation::get(map, QLatin1String(COUNT)).toInt(&ok);
if (!ok) {
std::cerr << "Error: The count found in map is not an integer.";
std::cerr << "Error: The count found in map is not an integer." << std::endl;
return map;
}
......@@ -179,13 +179,13 @@ QVariantMap RmKitOperation::rmKit(const QVariantMap &map, const QString &id)
profileList << profile;
}
if (profileList.count() == map.count() - 3) {
std::cerr << "Error: Id was not found.";
std::cerr << "Error: Id was not found." << std::endl;
return map;
}
int defaultKit = GetOperation::get(map, QLatin1String(DEFAULT)).toInt(&ok);
if (!ok) {
std::cerr << "Error: Could not find the default kit.";
std::cerr << "Error: Could not find the default kit." << std::endl;
defaultKit = -1;
}
......
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