pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/x11/kitemviews
Module Name: pkgsrc
Committed By: jperkin
Date: Wed Feb 28 11:13:18 UTC 2024
Modified Files:
pkgsrc/x11/kitemviews: distinfo
Added Files:
pkgsrc/x11/kitemviews/patches: patch-src_kcategorydrawer.cpp
Log Message:
kitemviews: Avoid ambiguous function call.
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/x11/kitemviews/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/x11/kitemviews/patches/patch-src_kcategorydrawer.cpp
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/x11/kitemviews/distinfo
diff -u pkgsrc/x11/kitemviews/distinfo:1.17 pkgsrc/x11/kitemviews/distinfo:1.18
--- pkgsrc/x11/kitemviews/distinfo:1.17 Tue Feb 6 10:46:34 2024
+++ pkgsrc/x11/kitemviews/distinfo Wed Feb 28 11:13:18 2024
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.17 2024/02/06 10:46:34 markd Exp $
+$NetBSD: distinfo,v 1.18 2024/02/28 11:13:18 jperkin Exp $
BLAKE2s (kitemviews-5.114.0.tar.xz) = b1946404734b304ede97c9bbcb80bb8610c4cac75b686111230cd647a7b47b79
SHA512 (kitemviews-5.114.0.tar.xz) = f431e0db8a0245bea10f76583b259314b2378fa91a89072db516a50cd1835a4526df34f32a9ed2eef8453226f9205f8d96beefd8727ff648cee4379fd1bc54a5
Size (kitemviews-5.114.0.tar.xz) = 2264800 bytes
+SHA1 (patch-src_kcategorydrawer.cpp) = 866d2f7de33e9495a43de26bdc6b8ad4ff2d9d17
Added files:
Index: pkgsrc/x11/kitemviews/patches/patch-src_kcategorydrawer.cpp
diff -u /dev/null pkgsrc/x11/kitemviews/patches/patch-src_kcategorydrawer.cpp:1.1
--- /dev/null Wed Feb 28 11:13:18 2024
+++ pkgsrc/x11/kitemviews/patches/patch-src_kcategorydrawer.cpp Wed Feb 28 11:13:18 2024
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_kcategorydrawer.cpp,v 1.1 2024/02/28 11:13:18 jperkin Exp $
+
+Avoid ambiguous function call.
+
+--- src/kcategorydrawer.cpp.orig 2024-02-28 10:28:36.635078552 +0000
++++ src/kcategorydrawer.cpp
+@@ -78,7 +78,7 @@ void KCategoryDrawer::drawCategory(const
+ QRect backgroundRect(option.rect);
+ backgroundRect.setLeft(fontMetrics.horizontalAdvance(category) + sidePadding * 2);
+ backgroundRect.setRight(backgroundRect.right() - sidePadding);
+- backgroundRect.setTop(backgroundRect.top() + topPadding + ceil(fontMetrics.height() / 2));
++ backgroundRect.setTop(backgroundRect.top() + topPadding + std::ceil(fontMetrics.height() / 2));
+ backgroundRect.setHeight(1);
+ painter->save();
+ painter->setBrush(backgroundColor);
Home |
Main Index |
Thread Index |
Old Index