diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2013-09-09 04:48:03 -0300 |
---|---|---|
committer | Tomaz Canabrava <tcanabrava@kde.org> | 2013-09-09 04:48:03 -0300 |
commit | 6a7256fdd5609b3792b2b0e6a3e85203d0ee8206 (patch) | |
tree | eed5bd5a1ca7cdfe99a426e13a29a5c81087a35f /icons | |
parent | 2e700f2dde6cd43cdb3ff53b56eb5e8699125444 (diff) | |
download | subsurface-6a7256fdd5609b3792b2b0e6a3e85203d0ee8206.tar.gz |
Fix QString Usage
Fixes QString Usage. to return a Empty QString, one should
return a QString() and not a QString(""), and to check if
the string is empty, one should check for string.isEmpty()
instead of "string != "" ", because the latter will create
a new QString, then call the != operator, less function calls,
better code.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'icons')
0 files changed, 0 insertions, 0 deletions