From d641c584b1ed5cfae860dc0e9b08526ae6eb2c93 Mon Sep 17 00:00:00 2001 From: Antti Kokko Date: Wed, 20 Feb 2019 15:21:29 +0200 Subject: Add changes file for Qt 5.12.2 Change-Id: I84ec16966ef9a06fde339d7f80dedcf95807cded Reviewed-by: Mitch Curtis --- dist/changes-5.12.2 | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 dist/changes-5.12.2 diff --git a/dist/changes-5.12.2 b/dist/changes-5.12.2 new file mode 100644 index 00000000..9a4e2ce8 --- /dev/null +++ b/dist/changes-5.12.2 @@ -0,0 +1,30 @@ +Qt 5.12.2 is a bug-fix release. It maintains both forward and backward +compatibility (source and binary) with Qt 5.12.0 through 5.12.1. + +For more details, refer to the online documentation included in this +distribution. The documentation is also available online: + +https://doc.qt.io/qt-5/index.html + +The Qt version 5.12 series is binary compatible with the 5.11.x series. +Applications compiled for 5.11 will continue to run with 5.12. + +Some of the changes listed in this file include issue tracking numbers +corresponding to tasks in the Qt Bug Tracker: + +https://bugreports.qt.io/ + +Each of these identifiers can be entered in the bug tracker to obtain more +information about a particular change. + +**************************************************************************** +* Library * +**************************************************************************** + + - [QTBUG-73765] Fixed Calendar's day of week header not being updated when + the locale is changed. + - [QTBUG-65209] Fixed progress indicator with vertical ProgessBar. + - [QTBUG-69041] Fixed TableView's vertical scrollbar being drawn over the + header. + - [QTBUG-71997] Fixed time component of minimumDate and maximumDate + affecting valid range of dates. -- cgit v1.2.1 From c231395eec3494619f4977b4c5cd845b9d7341ae Mon Sep 17 00:00:00 2001 From: Benjamin Robin Date: Sun, 24 Feb 2019 10:28:14 +0100 Subject: ScrollViewStyle: Avoid division by zero in extent computation If the flickableItem content is empty (contentWidth / contentHeight is equal to 0), prevent the division by zero in the computation of the extent variable. Task-number: QTBUG-73691 Change-Id: I86becca9a1fa2508d1acafe09f46dfc952e4e96d Reviewed-by: Mitch Curtis --- src/controls/Styles/Base/ScrollViewStyle.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controls/Styles/Base/ScrollViewStyle.qml b/src/controls/Styles/Base/ScrollViewStyle.qml index 6750399d..36b518d3 100644 --- a/src/controls/Styles/Base/ScrollViewStyle.qml +++ b/src/controls/Styles/Base/ScrollViewStyle.qml @@ -370,8 +370,8 @@ Style { property var flickableItem: control.flickableItem property int extent: Math.max(minimumHandleLength, __styleData.horizontal ? - Math.min(1, (flickableItem ? flickableItem.width/flickableItem.contentWidth : 1)) * bg.width : - Math.min(1, (flickableItem ? flickableItem.height/flickableItem.contentHeight : 1)) * bg.height) + Math.min(1, ((flickableItem && flickableItem.contentWidth > 0.0) ? flickableItem.width/flickableItem.contentWidth : 1)) * bg.width : + Math.min(1, ((flickableItem && flickableItem.contentHeight > 0.0) ? flickableItem.height/flickableItem.contentHeight : 1)) * bg.height) readonly property real range: __control.maximumValue - __control.minimumValue readonly property real begin: __control.value - __control.minimumValue -- cgit v1.2.1 From c901f6d2ee7f73f58881424b05d57360720fa7d9 Mon Sep 17 00:00:00 2001 From: Kari Oikarinen Date: Thu, 21 Mar 2019 09:09:00 +0200 Subject: Bump version Change-Id: I3d2d235fc7df5e437642213e4011b9162bf55af9 --- .qmake.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.qmake.conf b/.qmake.conf index d06443e3..b47ca20b 100644 --- a/.qmake.conf +++ b/.qmake.conf @@ -2,4 +2,4 @@ load(qt_build_config) CONFIG += warning_clean android|ios|qnx|isEmpty(QT.widgets.name): CONFIG += no_desktop -MODULE_VERSION = 5.12.2 +MODULE_VERSION = 5.12.3 -- cgit v1.2.1