diff options
author | Qt Continuous Integration System <qt-info@nokia.com> | 2010-01-22 03:52:49 (GMT) |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2010-01-22 03:52:49 (GMT) |
commit | 52c040be74bc705fa50eda88bac275a6bd1645a8 (patch) | |
tree | f573faff3b90cb3c3c9d848bdf2e377825eac090 /tools | |
parent | d1f77a5e47d79b9fb688046a7357bc0c8b21c875 (diff) | |
parent | 45eb45d128d0d7017ae2ff7a5f8fa4c803093cf1 (diff) | |
download | Qt-52c040be74bc705fa50eda88bac275a6bd1645a8.zip Qt-52c040be74bc705fa50eda88bac275a6bd1645a8.tar.gz Qt-52c040be74bc705fa50eda88bac275a6bd1645a8.tar.bz2 |
Merge branch '4.6' of scm.dev.nokia.troll.no:qt/berlin-staging-1 into 4.6-integration
* '4.6' of scm.dev.nokia.troll.no:qt/berlin-staging-1:
Assistant docs: Fix link.
QtHelp docs: Fix illegal namespace name.
Assistant: Set correct mime type for text documents.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/assistant/tools/assistant/helpviewer.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/assistant/tools/assistant/helpviewer.cpp b/tools/assistant/tools/assistant/helpviewer.cpp index 1900c7e..be6245a 100644 --- a/tools/assistant/tools/assistant/helpviewer.cpp +++ b/tools/assistant/tools/assistant/helpviewer.cpp @@ -141,12 +141,12 @@ QNetworkReply *HelpNetworkAccessManager::createRequest(Operation /*op*/, if (mimeType.endsWith(QLatin1String(".svg")) || mimeType.endsWith(QLatin1String(".svgz"))) { mimeType = QLatin1String("image/svg+xml"); - } - else if (mimeType.endsWith(QLatin1String(".css"))) { + } else if (mimeType.endsWith(QLatin1String(".css"))) { mimeType = QLatin1String("text/css"); - } - else if (mimeType.endsWith(QLatin1String(".js"))) { + } else if (mimeType.endsWith(QLatin1String(".js"))) { mimeType = QLatin1String("text/javascript"); + } else if (mimeType.endsWith(QLatin1String(".txt"))) { + mimeType = QLatin1String("text/plain"); } else { mimeType = QLatin1String("text/html"); } |