summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-03-19 10:20:28 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2020-03-19 10:20:28 +0100
commit42ba2e70733f0d63044a2f4d8a44ebd1074e39cc (patch)
tree33a51052c8152063a4c66d0ae6cc607d8661a127 /kde-apps/kruler/files
parentprofiles: package.mask cleanup (diff)
downloadgentoo-42ba2e70733f0d63044a2f4d8a44ebd1074e39cc.tar.gz
gentoo-42ba2e70733f0d63044a2f4d8a44ebd1074e39cc.tar.bz2
gentoo-42ba2e70733f0d63044a2f4d8a44ebd1074e39cc.zip
kde-apps: Drop KDE Applications 19.08.3
Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/kruler/files')
-rw-r--r--kde-apps/kruler/files/kruler-19.08.3-qt-5.14.patch45
1 files changed, 0 insertions, 45 deletions
diff --git a/kde-apps/kruler/files/kruler-19.08.3-qt-5.14.patch b/kde-apps/kruler/files/kruler-19.08.3-qt-5.14.patch
deleted file mode 100644
index ae87b047507f..000000000000
--- a/kde-apps/kruler/files/kruler-19.08.3-qt-5.14.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-From 90ebe8e37b8699ef26c10fb2928cf673cad04a06 Mon Sep 17 00:00:00 2001
-From: Laurent Montel <montel@kde.org>
-Date: Wed, 18 Sep 2019 06:41:34 +0200
-Subject: Make it compiles without deprecated method
-
----
- klineal.cpp | 8 +++-----
- 1 file changed, 3 insertions(+), 5 deletions(-)
-
-diff --git a/klineal.cpp b/klineal.cpp
-index 8b5d3c3..0f9bc48 100644
---- a/klineal.cpp
-+++ b/klineal.cpp
-@@ -705,7 +705,7 @@ void KLineal::mouseReleaseEvent( QMouseEvent *inEvent )
-
- void KLineal::wheelEvent( QWheelEvent *e )
- {
-- int numDegrees = e->delta() / 8;
-+ int numDegrees = e->angleDelta().y() / 8;
- int numSteps = numDegrees / 15;
-
- // changing offset
-@@ -756,8 +756,7 @@ void KLineal::drawScale( QPainter &painter )
- }
-
- if ( digit % 100 == 0 && digit != 0 ) {
-- QString units;
-- units.sprintf( "%d", digit );
-+ QString units = QStringLiteral("%1").arg(digit);
- drawScaleText( painter, x, units );
- }
-
-@@ -771,9 +770,8 @@ void KLineal::drawScale( QPainter &painter )
- int x = (int)( i * step );
-
- if ( i % 10 == 0 && i != 0 && i != 100 ) {
-- QString units;
- int value = mLeftToRight ? i : ( 100 - i );
-- units.sprintf( "%d%%", value );
-+ const QString units = QString::asprintf( "%d%%", value );
- drawScaleText( painter, x, units );
- len = MEDIUM2_TICK_SIZE;
- } else {
---
-cgit v1.1