summaryrefslogtreecommitdiffstats
path: root/graphics/flameshot/qpainter.patch
diff options
context:
space:
mode:
author Matteo Bernardini2020-09-05 12:00:48 +0200
committer Matteo Bernardini2020-09-05 12:00:48 +0200
commit839043f491ef6b69aa53a28544e6840d94aa994f (patch)
treef71ca459b3f1d8ad0534ec73884c06f09fc7b148 /graphics/flameshot/qpainter.patch
parentd52c3f21bc810174eab256ff9fc51b3fe3904ddc (diff)
downloadslackbuilds-current-20200905.1.tar.gz
20200905.1 global branch merge.current-20200905.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'graphics/flameshot/qpainter.patch')
-rw-r--r--graphics/flameshot/qpainter.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/graphics/flameshot/qpainter.patch b/graphics/flameshot/qpainter.patch
new file mode 100644
index 0000000000..f6b2ea457c
--- /dev/null
+++ b/graphics/flameshot/qpainter.patch
@@ -0,0 +1,22 @@
+diff -ru a/src/third-party/Qt-Color-Widgets/src/color_wheel.cpp b/src/third-party/Qt-Color-Widgets/src/color_wheel.cpp
+--- a/src/third-party/Qt-Color-Widgets/src/color_wheel.cpp 2020-05-29 22:47:56.183333313 +0300
++++ b/src/third-party/Qt-Color-Widgets/src/color_wheel.cpp 2020-05-29 22:52:19.147998709 +0300
+@@ -24,6 +24,7 @@
+ #include <cmath>
+ #include <QMouseEvent>
+ #include <QPainter>
++#include <QPainterPath>
+ #include <QLineF>
+ #include <QDragEnterEvent>
+ #include <QMimeData>
+diff -ru a/src/tools/arrow/arrowtool.h b/src/tools/arrow/arrowtool.h
+--- a/src/tools/arrow/arrowtool.h 2020-05-29 22:47:56.184333329 +0300
++++ b/src/tools/arrow/arrowtool.h 2020-05-29 22:48:25.688787364 +0300
+@@ -19,6 +19,7 @@
+
+ #include "src/tools/abstracttwopointtool.h"
+ #include <QPainter>
++#include <QPainterPath>
+
+ class ArrowTool : public AbstractTwoPointTool {
+ Q_OBJECT