diff options
author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2009-04-15 13:26:16 (GMT) |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2009-04-15 18:38:58 (GMT) |
commit | 4f66b3c550ca1c90c33952ad8603cc6c1a702280 (patch) | |
tree | ef35eb4a6bb822142fe6221dcdfff0418e5c1f5f /tools | |
parent | c4846a0e62482abb28cdc973fb4823be3e71f4f7 (diff) | |
download | Qt-4f66b3c550ca1c90c33952ad8603cc6c1a702280.zip Qt-4f66b3c550ca1c90c33952ad8603cc6c1a702280.tar.gz Qt-4f66b3c550ca1c90c33952ad8603cc6c1a702280.tar.bz2 |
add some comments
Diffstat (limited to 'tools')
-rw-r--r-- | tools/linguist/shared/ui.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/linguist/shared/ui.cpp b/tools/linguist/shared/ui.cpp index 23a73e7..4f4d4cd 100644 --- a/tools/linguist/shared/ui.cpp +++ b/tools/linguist/shared/ui.cpp @@ -95,7 +95,7 @@ bool UiReader::startElement(const QString &namespaceURI, Q_UNUSED(namespaceURI); Q_UNUSED(localName); - if (qName == QLatin1String("item")) { + if (qName == QLatin1String("item")) { // UI3 menu entries flush(); if (!atts.value(QLatin1String("text")).isEmpty()) m_source = atts.value(QLatin1String("text")); @@ -123,15 +123,15 @@ bool UiReader::endElement(const QString &namespaceURI, m_accum.replace(QLatin1String("\r\n"), QLatin1String("\n")); - if (qName == QLatin1String("class")) { + if (qName == QLatin1String("class")) { // UI "header" if (m_context.isEmpty()) m_context = m_accum; } else if (qName == QLatin1String("string") && m_isTrString) { m_source = m_accum; - } else if (qName == QLatin1String("comment")) { + } else if (qName == QLatin1String("comment")) { // FIXME: what's that? m_comment = m_accum; flush(); - } else if (qName == QLatin1String("function")) { + } else if (qName == QLatin1String("function")) { // UI3 embedded code fetchtrInlinedCpp(m_accum, m_translator, m_context); } else { flush(); |