X-Git-Url: https://ruin.nu/git/?p=hbs.git;a=blobdiff_plain;f=bs%2Fbsview.cpp;h=48b0c59c1083415269516d73970bc913b0ae8e76;hp=b5e25b0a2c88fe8d21c46ea1faa9af4c7973625d;hb=a4366efa718d0f6a883cb5ef9cf1ed9c1bdede4c;hpb=935b6de2d1428854d76acc20b1727eb4a30f9273 diff --git a/bs/bsview.cpp b/bs/bsview.cpp index b5e25b0..48b0c59 100644 --- a/bs/bsview.cpp +++ b/bs/bsview.cpp @@ -517,7 +517,13 @@ void BSView::slotGenerateReport() { for(map >::iterator l = k->second.begin(); l != k->second.end(); ++l) { - t.append(QString("
  • %0 %1 %2 killing/blocking at: \n").arg(l->second["000"]).arg(k->first.c_str()).arg(l->first.c_str())); + QString color; + if (k->first == "Friendly") + color = "#46AA1B"; + if (k->first == "Hostile") + color = "#FF0000"; + + t.append(QString("
  • %0 %1 %2 killing/blocking at: \n").arg(l->second["000"]).arg(k->first.c_str()).arg(l->first.c_str()).arg(color)); t.append("