Commit 9a96712e authored by AlmAck's avatar AlmAck

better output, add the ',' only when there are multiple packages to replace

parent 4e15b1ca
......@@ -313,7 +313,8 @@ void QueueOperation::validationFinished(bool valid)
out << pkg->name() << " -> (";
foreach(Akabei::Package* replaced, older){
out << replaced->name();
out << QObject::tr(", ");
if (replaced != *(older.begin()))
out << QObject::tr(", ");
}
out << ")";
}
......
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