From 6a75daa99feb0a0c599ef51d26718ea60fd4d0da Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Thu, 2 Jun 2016 13:34:49 +0200 Subject: QMessageBox::aboutQt(): Remove LGPL 2.1. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Licenses have changed in 5.7. Change-Id: Ib3801ef878f292e68b22ee89e036bb30cc79d186 Task-number: QTBUG-53791 Reviewed-by: Robert Loehning Reviewed-by: Topi Reiniö --- src/widgets/dialogs/qmessagebox.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/widgets') diff --git a/src/widgets/dialogs/qmessagebox.cpp b/src/widgets/dialogs/qmessagebox.cpp index 69f7ef1e16..88af70fa36 100644 --- a/src/widgets/dialogs/qmessagebox.cpp +++ b/src/widgets/dialogs/qmessagebox.cpp @@ -1889,13 +1889,10 @@ void QMessageBox::aboutQt(QWidget *parent, const QString &title) "

Qt licensed under our commercial license agreement is appropriate " "for development of proprietary/commercial software where you do not " "want to share any source code with third parties or otherwise cannot " - "comply with the terms of the GNU LGPL version 3 or GNU LGPL version 2.1.

" + "comply with the terms of the GNU LGPL version 3.

" "

Qt licensed under the GNU LGPL version 3 is appropriate for the " "development of Qt applications provided you can comply with the terms " "and conditions of the GNU LGPL version 3.

" - "

Qt licensed under the GNU LGPL version 2.1 is appropriate for the " - "development of Qt applications provided you can comply with the terms " - "and conditions of the GNU LGPL version 2.1.

" "

Please see %2 " "for an overview of Qt licensing.

" "

Copyright (C) %1 The Qt Company Ltd and other " -- cgit v1.2.3 From 49491dd678071661db2e34133c051cb176a83e0b Mon Sep 17 00:00:00 2001 From: David Edmundson Date: Mon, 13 Jun 2016 17:56:49 +0200 Subject: Handle device pixel ratio in QTreeWidget animations MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As we are rendering into a new paint device we need to copy the device pixel ratio from the widget. Task-number: QTBUG-50207 Change-Id: I2fe08052c4ab589cb871f4c95440b7d63f79beb9 Reviewed-by: Morten Johan Sørvig --- src/widgets/itemviews/qtreeview.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/widgets') diff --git a/src/widgets/itemviews/qtreeview.cpp b/src/widgets/itemviews/qtreeview.cpp index cecaa4d8fb..d2e1a10566 100644 --- a/src/widgets/itemviews/qtreeview.cpp +++ b/src/widgets/itemviews/qtreeview.cpp @@ -3232,7 +3232,8 @@ void QTreeViewPrivate::drawAnimatedOperation(QPainter *painter) const QPixmap QTreeViewPrivate::renderTreeToPixmapForAnimation(const QRect &rect) const { Q_Q(const QTreeView); - QPixmap pixmap(rect.size()); + QPixmap pixmap(rect.size() * q->devicePixelRatio()); + pixmap.setDevicePixelRatio(q->devicePixelRatio()); if (rect.size().isEmpty()) return pixmap; pixmap.fill(Qt::transparent); //the base might not be opaque, and we don't want uninitialized pixels. -- cgit v1.2.3