mirror of
https://github.com/taglib/taglib.git
synced 2025-05-27 21:20:26 -04:00
convert "" comparison to use built in empty() function
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@365215 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
This commit is contained in:
parent
4175270a45
commit
a2b316f3fa
@ -121,7 +121,7 @@ bool APE::Item::isEmpty() const
|
||||
case 1:
|
||||
if(d->text.isEmpty())
|
||||
return true;
|
||||
if(d->text.size() == 1 && d->text.front() == "")
|
||||
if(d->text.size() == 1 && d->text.front().isEmpty())
|
||||
return true;
|
||||
return false;
|
||||
case 2:
|
||||
|
Loading…
Reference in New Issue
Block a user