lxqt / libqtxdg

Qt implementation of freedesktop.org xdg specs
https://lxqt.github.io
GNU Lesser General Public License v2.1
72 stars 35 forks source link

Improve readability in container emptiness check #238

Closed luis-pereira closed 3 years ago

luis-pereira commented 3 years ago

Use empty() instead of size() is easier to understand. Also avoids an implicit cast.

tsujan commented 3 years ago

GTM