summaryrefslogtreecommitdiff
path: root/src/libs/cplusplus
diff options
context:
space:
mode:
authorDebao Zhang <hello@debao.me>2013-02-26 09:24:54 +0800
committerDebao Zhang <hello@debao.me>2013-02-26 15:24:26 +0100
commitf5dcd551172d8a6a3ebbc01a060f9654505314d6 (patch)
tree8873b3ebc41d09b08b12fea79c5b8ff4207c5589 /src/libs/cplusplus
parent1193b0f5fbd44146b300835f4134eb7aa9eb1b5b (diff)
downloadqt-creator-f5dcd551172d8a6a3ebbc01a060f9654505314d6.tar.gz
Qt5: Don't use the deprecated {QString,QChar}::fromAscii()
Change-Id: Ic1d302c2186b11ffec5139f4f491d477d334ec8f Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Diffstat (limited to 'src/libs/cplusplus')
-rw-r--r--src/libs/cplusplus/LookupContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/cplusplus/LookupContext.cpp b/src/libs/cplusplus/LookupContext.cpp
index b23cf73949..6dc5bd8682 100644
--- a/src/libs/cplusplus/LookupContext.cpp
+++ b/src/libs/cplusplus/LookupContext.cpp
@@ -594,7 +594,7 @@ void CreateBindings::lookupInScope(const Name *name, Scope *scope,
#ifdef DEBUG_LOOKUP
Overview oo;
qDebug() << "Found" << id->chars() << "in"
- << (binding ? oo(binding->_name) : QString::fromAscii("<null>"));
+ << (binding ? oo(binding->_name) : QString::fromLatin1("<null>"));
#endif // DEBUG_LOOKUP
LookupItem item;