Commit 17f47096 authored by AlmAck's avatar AlmAck
Browse files

improved a bit the output allignement

parent c1944d05
......@@ -65,8 +65,8 @@ void printPackageInformation(Akabei::Package * p, QTextStream &out, bool showLes
if (!showLess) {
out << "\t" << qSetFieldWidth(n) << fields["Description:"] << qSetFieldWidth(0) << p->description() << endl;
out << "\t" << qSetFieldWidth(n) << fields["Installation size:"] << qSetFieldWidth(0) << Akabei::Helpers::formatByteSize(p->size());
out << "\t" << qSetFieldWidth(0) << fields["Architecture:"] << " " << p->arch() << endl;
out << "\t" << qSetFieldWidth(n) << fields["Installation size:"] << qSetFieldWidth(0) << Akabei::Helpers::formatByteSize(p->size()) << endl;
out << "\t" << qSetFieldWidth(n) << fields["Architecture:"] << qSetFieldWidth(0) << p->arch() << endl;
out << "\t" << qSetFieldWidth(n) << fields["Homepage:"] << qSetFieldWidth(0) << p->url().toString() << endl;
out << "\t" << qSetFieldWidth(n) << fields["Licenses:"] << qSetFieldWidth(0) << (p->licenses().isEmpty() ? QObject::tr("None") : p->licenses().join(" ")) << endl;
out << "\t" << qSetFieldWidth(n) << fields["Depends on:"] << qSetFieldWidth(0) << (p->dependencies().isEmpty() ? QObject::tr("None") : p->dependencies().join(" ")) << endl;
......
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