diff options
Diffstat (limited to 'src/gui/widgets/tabs/socialplayerstab.h')
-rw-r--r-- | src/gui/widgets/tabs/socialplayerstab.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/tabs/socialplayerstab.h b/src/gui/widgets/tabs/socialplayerstab.h index 447e0791e..f4c3f2bbe 100644 --- a/src/gui/widgets/tabs/socialplayerstab.h +++ b/src/gui/widgets/tabs/socialplayerstab.h @@ -156,7 +156,7 @@ class SocialPlayersTab final : public SocialTab const StringVectCIter i_end = names.end(); while (i != i_end) { - if (ava->getName() == (*i) && (*i) != "") + if (ava->getName() == (*i) && !(*i).empty()) { finded = true; break; @@ -180,7 +180,7 @@ class SocialPlayersTab final : public SocialTab while (i != i_end) { - if ((*i) != "") + if (!(*i).empty()) updateAvatar(*i); ++i; } |