summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2011-04-09 16:05:13 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2011-04-09 16:05:13 (GMT)
commit7190c7be34fe0dbcfbb10b232b40977c758d251a (patch)
tree6c94506f0b47c5e634128e6dc34204bd3ea9da07 /tools
parentf6f2d03b2d74b236d33a5ca32a49f138bf521c13 (diff)
parentd9c84c26dc212b2f170dfb48346df7c439e6f759 (diff)
downloadQt-7190c7be34fe0dbcfbb10b232b40977c758d251a.zip
Qt-7190c7be34fe0dbcfbb10b232b40977c758d251a.tar.gz
Qt-7190c7be34fe0dbcfbb10b232b40977c758d251a.tar.bz2
Merge branch 4.7 into qt-master-from-4.7
Diffstat (limited to 'tools')
-rw-r--r--tools/linguist/shared/qm.cpp2
-rw-r--r--tools/qdoc3/qdoc3.pro2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/linguist/shared/qm.cpp b/tools/linguist/shared/qm.cpp
index 7b30643..0b4bd9e 100644
--- a/tools/linguist/shared/qm.cpp
+++ b/tools/linguist/shared/qm.cpp
@@ -723,7 +723,7 @@ static bool saveQM(const Translator &translator, QIODevice &dev, ConversionData
continue;
}
if (typ == TranslatorMessage::Unfinished) {
- if (!cd.m_idBased && msg.translation().isEmpty()) {
+ if (msg.translation().isEmpty() && !cd.m_idBased && cd.m_unTrPrefix.isEmpty()) {
++untranslated;
continue;
} else {
diff --git a/tools/qdoc3/qdoc3.pro b/tools/qdoc3/qdoc3.pro
index 2b4c6a0..69d7e28 100644
--- a/tools/qdoc3/qdoc3.pro
+++ b/tools/qdoc3/qdoc3.pro
@@ -95,7 +95,7 @@ include(declarativeparser/parser.pri)
qtPrepareTool(QDOC, qdoc3)
qtPrepareTool(QHELPGENERATOR, qhelpgenerator)
-$$unixstyle {
+equals(QMAKE_DIR_SEP, /) {
QDOC = QT_BUILD_TREE=$$QT_BUILD_TREE QT_SOURCE_TREE=$$QT_SOURCE_TREE $$QDOC
} else {
QDOC = set QT_BUILD_TREE=$$QT_BUILD_TREE&& set QT_SOURCE_TREE=$$QT_SOURCE_TREE&& $$QDOC