aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-09-09 04:48:03 -0300
committerGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-09-09 04:48:03 -0300
commit6a7256fdd5609b3792b2b0e6a3e85203d0ee8206 (patch)
treeeed5bd5a1ca7cdfe99a426e13a29a5c81087a35f /Documentation
parent2e700f2dde6cd43cdb3ff53b56eb5e8699125444 (diff)
downloadsubsurface-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 'Documentation')
0 files changed, 0 insertions, 0 deletions