deepin-music: fix build w/ qt5-5.15.0 (QPainterPath)
This commit is contained in:
parent
55e22a5c24
commit
90579dacc6
|
@ -0,0 +1,30 @@
|
|||
--- 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>
|
Loading…
Reference in New Issue