diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-11-15 21:15:11 +0800 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-11-15 21:15:11 +0800 |
commit | 98095beb82f000d888dfa15bada80376c48df837 (patch) | |
tree | dadbf7de3432fa5cbf95c42733d19d5cf0508034 /dilos/core/tdesdk/debian/patches | |
parent | f3d5de18f2bdf89d5923d560420ae23cac051cb8 (diff) | |
download | tde-packaging-98095beb82f000d888dfa15bada80376c48df837.tar.gz tde-packaging-98095beb82f000d888dfa15bada80376c48df837.zip |
DEB: adjusted to new 'core' folder for main packages.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'dilos/core/tdesdk/debian/patches')
-rw-r--r-- | dilos/core/tdesdk/debian/patches/dilos.patch | 13 | ||||
-rw-r--r-- | dilos/core/tdesdk/debian/patches/series | 1 |
2 files changed, 14 insertions, 0 deletions
diff --git a/dilos/core/tdesdk/debian/patches/dilos.patch b/dilos/core/tdesdk/debian/patches/dilos.patch new file mode 100644 index 000000000..d78ce6072 --- /dev/null +++ b/dilos/core/tdesdk/debian/patches/dilos.patch @@ -0,0 +1,13 @@ +Index: tdesdk/umbrello/umbrello/associationwidget.cpp +=================================================================== +--- tdesdk.orig/umbrello/umbrello/associationwidget.cpp ++++ tdesdk/umbrello/umbrello/associationwidget.cpp +@@ -1893,7 +1893,7 @@ void AssociationWidget::constrainTextPos + const int y0 = p0.y(); + const int x1 = p1.x(); + const int y1 = p1.y(); +- double r = sqrt((x1 - x0) * (x1 - x0) + (y1 - y0) * (y1 - y0)) / 2; ++ double r = sqrt((double)(x1 - x0) * (x1 - x0) + (y1 - y0) * (y1 - y0)) / 2; + if (textWidth > r) + r = textWidth; + // swap textCenter{X,Y} to convert from TQt coord.system. diff --git a/dilos/core/tdesdk/debian/patches/series b/dilos/core/tdesdk/debian/patches/series new file mode 100644 index 000000000..c77ae3ebe --- /dev/null +++ b/dilos/core/tdesdk/debian/patches/series @@ -0,0 +1 @@ +dilos.patch |