Remove unnecessary newline from VisualNavbar tooltip

This commit is contained in:
Florian Märkl 2018-07-06 17:37:27 +02:00
parent 8566e9e2b3
commit b10d132237

View File

@ -259,8 +259,14 @@ QString VisualNavbar::toolTipForAddress(RVA address)
auto sections = sectionsForAddress(address);
if (sections.count()) {
ret += "\nSections: \n";
bool first = true;
for (auto section : sections) {
ret += " " + section + "\n";
if (!first) {
ret += "\n";
} else {
first = false;
}
ret += " " + section;
}
}
return ret;