Hello community,
here is the log from the commit of package libyui-qt-graph for openSUSE:Factory
checked in at 2020-05-15 23:51:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libyui-qt-graph (Old)
and /work/SRC/openSUSE:Factory/.libyui-qt-graph.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libyui-qt-graph"
Fri May 15 23:51:07 2020 rev:28 rq:805654 version:2.46.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/libyui-qt-graph/libyui-qt-graph.changes
2020-03-27 21:56:39.206770276 +0100
+++
/work/SRC/openSUSE:Factory/.libyui-qt-graph.new.2738/libyui-qt-graph.changes
2020-05-15 23:51:13.193417337 +0200
@@ -1,0 +2,6 @@
+Thu May 14 17:37:33 CEST 2020 - [email protected]
+
+- handle multi-line labels (bsc#1171700)
+- 2.46.2
+
+-------------------------------------------------------------------
Old:
----
libyui-qt-graph-2.46.1.tar.bz2
New:
----
libyui-qt-graph-2.46.2.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libyui-qt-graph-doc.spec ++++++
--- /var/tmp/diff_new_pack.OgxVUN/_old 2020-05-15 23:51:13.765418439 +0200
+++ /var/tmp/diff_new_pack.OgxVUN/_new 2020-05-15 23:51:13.769418447 +0200
@@ -20,7 +20,7 @@
%define so_version 11
Name: %{parent}-doc
-Version: 2.46.1
+Version: 2.46.2
Release: 0
Source: %{parent}-%{version}.tar.bz2
++++++ libyui-qt-graph.spec ++++++
--- /var/tmp/diff_new_pack.OgxVUN/_old 2020-05-15 23:51:13.797418500 +0200
+++ /var/tmp/diff_new_pack.OgxVUN/_new 2020-05-15 23:51:13.801418509 +0200
@@ -17,7 +17,7 @@
Name: libyui-qt-graph
-Version: 2.46.1
+Version: 2.46.2
Release: 0
Source: %{name}-%{version}.tar.bz2
++++++ libyui-qt-graph-2.46.1.tar.bz2 -> libyui-qt-graph-2.46.2.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/libyui-qt-graph-2.46.1/VERSION.cmake
new/libyui-qt-graph-2.46.2/VERSION.cmake
--- old/libyui-qt-graph-2.46.1/VERSION.cmake 2020-03-24 18:23:14.000000000
+0100
+++ new/libyui-qt-graph-2.46.2/VERSION.cmake 2020-05-14 19:34:19.000000000
+0200
@@ -1,6 +1,6 @@
SET(VERSION_MAJOR "2")
SET(VERSION_MINOR "46")
-SET(VERSION_PATCH "1")
+SET(VERSION_PATCH "2")
SET( VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}" )
##### This is need for the libyui core, ONLY.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/libyui-qt-graph-2.46.1/package/libyui-qt-graph-doc.spec
new/libyui-qt-graph-2.46.2/package/libyui-qt-graph-doc.spec
--- old/libyui-qt-graph-2.46.1/package/libyui-qt-graph-doc.spec 2020-03-24
18:23:14.000000000 +0100
+++ new/libyui-qt-graph-2.46.2/package/libyui-qt-graph-doc.spec 2020-05-14
19:34:19.000000000 +0200
@@ -20,7 +20,7 @@
%define so_version 11
Name: %{parent}-doc
-Version: 2.46.1
+Version: 2.46.2
Release: 0
Source: %{parent}-%{version}.tar.bz2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/libyui-qt-graph-2.46.1/package/libyui-qt-graph.changes
new/libyui-qt-graph-2.46.2/package/libyui-qt-graph.changes
--- old/libyui-qt-graph-2.46.1/package/libyui-qt-graph.changes 2020-03-24
18:23:14.000000000 +0100
+++ new/libyui-qt-graph-2.46.2/package/libyui-qt-graph.changes 2020-05-14
19:34:19.000000000 +0200
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Thu May 14 17:37:33 CEST 2020 - [email protected]
+
+- handle multi-line labels (bsc#1171700)
+- 2.46.2
+
+-------------------------------------------------------------------
Tue Mar 24 16:22:22 UTC 2020 - Stefan Hundhammer <[email protected]>
- Fixed Qt 5.15 deprecated warnings (bsc#1165118)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/libyui-qt-graph-2.46.1/package/libyui-qt-graph.spec
new/libyui-qt-graph-2.46.2/package/libyui-qt-graph.spec
--- old/libyui-qt-graph-2.46.1/package/libyui-qt-graph.spec 2020-03-24
18:23:14.000000000 +0100
+++ new/libyui-qt-graph-2.46.2/package/libyui-qt-graph.spec 2020-05-14
19:34:19.000000000 +0200
@@ -17,7 +17,7 @@
Name: libyui-qt-graph
-Version: 2.46.1
+Version: 2.46.2
Release: 0
Source: %{name}-%{version}.tar.bz2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/libyui-qt-graph-2.46.1/src/QY2Graph.cc
new/libyui-qt-graph-2.46.2/src/QY2Graph.cc
--- old/libyui-qt-graph-2.46.1/src/QY2Graph.cc 2020-03-24 18:23:14.000000000
+0100
+++ new/libyui-qt-graph-2.46.2/src/QY2Graph.cc 2020-05-14 19:34:19.000000000
+0200
@@ -338,7 +338,7 @@
QString text(unescape(textlabel->text));
QFontMetricsF fm(painter->fontMetrics());
- QRectF rect(fm.boundingRect(text));
+ QRectF rect(fm.boundingRect(sceneRect(), Qt::AlignHCenter, text));
rect.moveCenter(gToQ(textlabel->pos, false));
painter->drawText(rect.adjusted(-2, -2, +2, +2), Qt::AlignCenter, text);
}