You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/x11-misc/qtfm/files/qtfm-6.2.0-qt-5.15.patch

39 lines
1.0 KiB

From c80a7f7e89f5810fab889dc2660d078438727c05 Mon Sep 17 00:00:00 2001
From: Andreas Sturmlechner <asturm@gentoo.org>
Date: Sun, 14 Jun 2020 20:25:46 +0200
Subject: [PATCH] Fix build with Qt 5.15 (missing QPainterPath include)
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
---
libfm/iconlist.cpp | 2 ++
libfm/iconview.cpp | 2 ++
2 files changed, 4 insertions(+)
diff --git a/libfm/iconlist.cpp b/libfm/iconlist.cpp
index ca72f2e..9b25dd2 100644
--- a/libfm/iconlist.cpp
+++ b/libfm/iconlist.cpp
@@ -1,5 +1,7 @@
#include "iconlist.h"
+#include <QPainterPath>
+
QSize IconListDelegate::sizeHint(const QStyleOptionViewItem &option,
const QModelIndex &index) const
{
diff --git a/libfm/iconview.cpp b/libfm/iconview.cpp
index 7b72bfb..f1abbd2 100644
--- a/libfm/iconview.cpp
+++ b/libfm/iconview.cpp
@@ -1,5 +1,7 @@
#include "iconview.h"
+#include <QPainterPath>
+
bool IconViewDelegate::eventFilter(QObject *object,
QEvent *event)
{
--
2.27.0