summaryrefslogtreecommitdiff
path: root/share/qtcreator/gdbmacros/gdbmacros.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2010-02-01 12:43:56 +0100
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2010-02-01 12:43:56 +0100
commit2fd8b2d7ffa2ac032bfe3a17efe7d152c4cef14d (patch)
treed09291af8cbedb1b80fd8992429dc46af4766dba /share/qtcreator/gdbmacros/gdbmacros.cpp
parentd2235489e83d70648f26445426a521bb15bab579 (diff)
downloadqt-creator-2fd8b2d7ffa2ac032bfe3a17efe7d152c4cef14d.tar.gz
Fix some code scanning issues.
QString: Use QChar where appropriate.
Diffstat (limited to 'share/qtcreator/gdbmacros/gdbmacros.cpp')
-rw-r--r--share/qtcreator/gdbmacros/gdbmacros.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/qtcreator/gdbmacros/gdbmacros.cpp b/share/qtcreator/gdbmacros/gdbmacros.cpp
index ee75ff511c..bbf49812bd 100644
--- a/share/qtcreator/gdbmacros/gdbmacros.cpp
+++ b/share/qtcreator/gdbmacros/gdbmacros.cpp
@@ -227,7 +227,7 @@ static QByteArray stripPointerType(const QByteArray &_type)
// This is used to abort evaluation of custom data dumpers in a "coordinated"
// way. Abortion will happen at the latest when we try to access a non-initialized
-// non-trivial object, so there is no way to prevent this from occuring at all
+// non-trivial object, so there is no way to prevent this from occurring at all
// conceptionally. Ideally, if there is API to check memory access, it should
// be used to terminate nicely, especially with CDB.
// 1) Gdb will catch SIGSEGV and return to the calling frame.
@@ -3436,7 +3436,7 @@ static void handleProtocolVersion2and3(QDumper &d)
#endif
const char *type = stripNamespace(d.outerType);
- // type[0] is usally 'Q', so don't use it
+ // type[0] is usually 'Q', so don't use it
switch (type[1]) {
case 'a':
if (isEqual(type, "map"))