From b63f4d456de4caf5e3d9e39ee9518dc46ddfd332 Mon Sep 17 00:00:00 2001 From: Scott Klum Date: Tue, 30 Jul 2013 16:11:18 -0400 Subject: [PATCH] Rank output works with crossvalidation --- openbr/plugins/gui.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/openbr/plugins/gui.cpp b/openbr/plugins/gui.cpp index 11df368..c5ca8a0 100644 --- a/openbr/plugins/gui.cpp +++ b/openbr/plugins/gui.cpp @@ -212,8 +212,11 @@ public: foreach (const Template & t, src) { // build label QString newTitle; + foreach (const QString & s, keys) { - if (t.file.contains(s)) { + if (s.compare("name", Qt::CaseInsensitive) == 0) { + newTitle = newTitle + s + ": " + file.name + " "; + } else if (t.file.contains(s)) { QString out = t.file.get(s); newTitle = newTitle + s + ": " + out + " "; } -- libgit2 0.21.4