summaryrefslogtreecommitdiffstats
path: root/tools/linguist/lupdate
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-01-07 20:56:55 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-01-07 21:07:47 (GMT)
commit1ff8e5ae0a3108086aacd53d3f8d213f13e05a4e (patch)
tree5c59bb9543cd0425f84b1ef9b1f6640cda31c436 /tools/linguist/lupdate
parent5bf61970ec5993f895423f4b8418f203531e382d (diff)
downloadQt-1ff8e5ae0a3108086aacd53d3f8d213f13e05a4e.zip
Qt-1ff8e5ae0a3108086aacd53d3f8d213f13e05a4e.tar.gz
Qt-1ff8e5ae0a3108086aacd53d3f8d213f13e05a4e.tar.bz2
don't complain about unresolved base when the reference is absolute
Task-number: QTBUG-6072
Diffstat (limited to 'tools/linguist/lupdate')
-rw-r--r--tools/linguist/lupdate/cpp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/linguist/lupdate/cpp.cpp b/tools/linguist/lupdate/cpp.cpp
index 857233e..b7f7807 100644
--- a/tools/linguist/lupdate/cpp.cpp
+++ b/tools/linguist/lupdate/cpp.cpp
@@ -1732,7 +1732,7 @@ void CppParser::parseInternal(ConversionData &cd, QSet<QString> &inclusions)
plural = true;
}
}
- if (!pendingContext.isEmpty()) {
+ if (!pendingContext.isEmpty() && !prefix.startsWith(strColons)) {
QStringList unresolved;
if (!fullyQualify(namespaces, pendingContext, true, &functionContext, &unresolved)) {
functionContextUnresolved = unresolved.join(strColons);