summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@digia.com>2014-02-03 17:28:28 +0100
committerFrederik Gladhorn <frederik.gladhorn@digia.com>2014-02-03 17:28:29 +0100
commit80c6a5ea7f827647cc58037e1d1cf4bbf30e1fb6 (patch)
tree01f3d4834202407107c981c1753e4e32d8bd9151
parent37c52018499ebe9e28a84f1d1ac4edb9abd9798c (diff)
parentcc253a0469336d6c36152b8d1d6a29b9fe68032a (diff)
downloadqttools-80c6a5ea7f827647cc58037e1d1cf4bbf30e1fb6.tar.gz
qttools-80c6a5ea7f827647cc58037e1d1cf4bbf30e1fb6.tar.bz2
qttools-80c6a5ea7f827647cc58037e1d1cf4bbf30e1fb6.zip
Merge remote-tracking branch 'origin/release' into stableupstream/5.2.2
Change-Id: I6d8fce7daab4dcfc9ffc93543dd0a1337a3f3c9d
-rw-r--r--dist/changes-5.2.142
-rw-r--r--src/assistant/help/qhelp_global.cpp8
2 files changed, 45 insertions, 5 deletions
diff --git a/dist/changes-5.2.1 b/dist/changes-5.2.1
new file mode 100644
index 00000000..430099f1
--- /dev/null
+++ b/dist/changes-5.2.1
@@ -0,0 +1,42 @@
+Qt 5.2.1 is a bug-fix release. It maintains both forward and backward
+compatibility (source and binary) with Qt 5.2.0.
+
+For more details, refer to the online documentation included in this
+distribution. The documentation is also available online:
+
+ http://qt-project.org/doc/qt-5.2
+
+The Qt version 5.2 series is binary compatible with the 5.1.x series.
+Applications compiled for 5.1 will continue to run with 5.2.
+
+Some of the changes listed in this file include issue tracking numbers
+corresponding to tasks in the Qt Bug Tracker:
+
+ http://bugreports.qt-project.org/
+
+Each of these identifiers can be entered in the bug tracker to obtain more
+information about a particular change.
+
+****************************************************************************
+* Tools *
+****************************************************************************
+
+androiddeployqt
+---------------
+
+ - [QTBUG-35401] Debug deployment is now much faster
+ - [QTBUG-35129] androiddeployqt now updates deployed plugins and
+ imports when the APK is updated on the device.
+
+Qt Assistant
+------------
+
+ - mailto links now work again in Qt Assistant.
+
+Qt Linguist
+-----------
+
+ - [QTBUG-35094] TS files are now always written with normalized numerus forms
+
+ - lupdate:
+ * Tr and TR won't be misinterpreted as tr any more
diff --git a/src/assistant/help/qhelp_global.cpp b/src/assistant/help/qhelp_global.cpp
index ff972633..795906c1 100644
--- a/src/assistant/help/qhelp_global.cpp
+++ b/src/assistant/help/qhelp_global.cpp
@@ -48,15 +48,13 @@
QString QHelpGlobal::uniquifyConnectionName(const QString &name, void *pointer)
{
- static int counter = 0;
static QMutex mutex;
-
QMutexLocker locker(&mutex);
- if (++counter > 1000)
- counter = 0;
+
+ static QHash<QString,quint16> idHash;
return QString::fromLatin1("%1-%2-%3").
- arg(name).arg(quintptr(pointer)).arg(counter);
+ arg(name).arg(quintptr(pointer)).arg(++idHash[name]);
}
QString QHelpGlobal::documentTitle(const QString &content)