diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2012-05-16 11:26:11 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-16 12:30:32 +0200 |
commit | 078ba2d0a202c3058c39db75921f401e5f2c4d0a (patch) | |
tree | 492625ac62ae8b68d715714c69903acdf85dbfe2 /src/tools/qdoc/separator.cpp | |
parent | cd9be96b1e670b61c68249ba5760b21dd97a8e9e (diff) |
qdoc: Fix some QString usage issues (Krazy warnings).
- Avoid single-character constants.
- Use QString() instead of "".
Change-Id: If04eff389e7b6d4a18201365b711708fdf545d00
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
Diffstat (limited to 'src/tools/qdoc/separator.cpp')
-rw-r--r-- | src/tools/qdoc/separator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/qdoc/separator.cpp b/src/tools/qdoc/separator.cpp index 4c2b2009ec..6b85352e2a 100644 --- a/src/tools/qdoc/separator.cpp +++ b/src/tools/qdoc/separator.cpp @@ -64,7 +64,7 @@ QString separator(int index, int count) QString comma(int index, int count) { if (index == count - 1) - return QString(""); + return QString(); if (count == 2) return tr(" and ", "separator when N = 2"); if (index == 0) |