qtfm: fix build w/ qt5-5.15.0 (QPainterPath)

This commit is contained in:
Jürgen Buchmüller 2020-08-31 18:53:41 +02:00
parent c34a268472
commit cae37c0fb5
1 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,20 @@
--- libfm/iconlist.h 2019-06-04 07:47:00.000000000 +0200
+++ libfm/iconlist.h 2020-08-31 18:50:21.401362347 +0200
@@ -9,6 +9,7 @@
#include <QStyledItemDelegate>
#include <QModelIndex>
#include <QPainter>
+#include <QPainterPath>
class IconListDelegate : public QItemDelegate
{
--- libfm/iconview.h 2019-06-04 07:47:00.000000000 +0200
+++ libfm/iconview.h 2020-08-31 18:50:30.723362828 +0200
@@ -11,6 +11,7 @@
#include <QKeyEvent>
#include <QModelIndex>
#include <QPainter>
+#include <QPainterPath>
class IconViewDelegate : public QStyledItemDelegate
{