summarylogtreecommitdiffstats
path: root/deepin-screen-recorder-qt5.15.patch
blob: 83ec15b5548e74c01939b4aa2689eb519dee0951 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
diff --git a/src/utils.cpp b/src/utils.cpp
index 96f2226..7076d09 100755
--- a/src/utils.cpp
+++ b/src/utils.cpp
@@ -27,6 +27,7 @@
 #include <QDebug>
 #include <QFontMetrics>
 #include <QPainter>
+#include <QPainterPath>
 #include <QDBusInterface>
 #include <QtX11Extras/QX11Info>
 #include <X11/extensions/shape.h>
diff --git a/src/widgets/shapeswidget.cpp b/src/widgets/shapeswidget.cpp
index 127620e..38638df 100755
--- a/src/widgets/shapeswidget.cpp
+++ b/src/widgets/shapeswidget.cpp
@@ -20,6 +20,7 @@
 #include "shapeswidget.h"
 #include <QApplication>
 #include <QPainter>
+#include <QPainterPath>
 #include <QDebug>
 
 #include "../utils/calculaterect.h"
diff --git a/src/widgets/tooltips.cpp b/src/widgets/tooltips.cpp
index afd844a..0f377bb 100644
--- a/src/widgets/tooltips.cpp
+++ b/src/widgets/tooltips.cpp
@@ -33,6 +33,7 @@
 #include <QHBoxLayout>
 #include <QLabel>
 #include <QPainter>
+#include <QPainterPath>
 #include <QGraphicsDropShadowEffect>
 #include <QPropertyAnimation>
 #include <QGraphicsOpacityEffect>