void-packages/srcpkgs/deepin-music/patches/QPainterPath.patch

31 lines
1003 B
Diff

--- src/music-player/view/lyricwidget.cpp 2019-06-01 08:20:13.000000000 +0200
+++ src/music-player/view/lyricwidget.cpp 2020-09-01 12:45:53.437691502 +0200
@@ -29,6 +29,7 @@
#include <QHBoxLayout>
#include <QListView>
#include <QPainter>
+#include <QPainterPath>
#include <QResizeEvent>
#include <QPaintEvent>
#include <QStringListModel>
--- src/music-player/view/widget/cover.cpp 2019-06-01 08:20:13.000000000 +0200
+++ src/music-player/view/widget/cover.cpp 2020-09-01 12:45:58.610691769 +0200
@@ -23,6 +23,7 @@
#include <QDebug>
#include <QPainter>
+#include <QPainterPath>
#include <QGraphicsDropShadowEffect>
static auto borderPenWidth = 1.0;
--- src/music-player/view/widget/soundvolume.cpp 2019-06-01 08:20:13.000000000 +0200
+++ src/music-player/view/widget/soundvolume.cpp 2020-09-01 12:46:04.652692081 +0200
@@ -23,6 +23,7 @@
#include <QDebug>
#include <QPainter>
+#include <QPainterPath>
#include <QWheelEvent>
#include <QGraphicsDropShadowEffect>
#include <QVBoxLayout>