Code cleanups

on behalf of Lebedev, see issue 1355
This commit is contained in:
Oliver Duis
2012-05-06 22:10:37 +02:00
parent 686188d6bb
commit 1483ecb47c
125 changed files with 750 additions and 747 deletions

View File

@@ -261,7 +261,7 @@ bool ThumbBrowserBase::Internal::on_query_tooltip (int x, int y, bool keyboard_t
ttip = parent->fd[i]->getToolTip (x, y);
break;
}
if (ttip!="") {
if (!ttip.empty()) {
tooltip->set_text (ttip);
return true;
}