32 lines
840 B
Diff
32 lines
840 B
Diff
From 69d7fe7218644b286c2ba093976d93594d9da576 Mon Sep 17 00:00:00 2001
|
|
From: kylinsecos_admin <gitee@kylinos.com.cn>
|
|
Date: Mon, 24 Jan 2022 14:05:06 +0800
|
|
Subject: [PATCH] fix(build): fix incomplete type 'class QPainterPath' build
|
|
|
|
---
|
|
src/category-widget.cpp | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/src/category-widget.cpp b/src/category-widget.cpp
|
|
index be89521..a481beb 100644
|
|
--- a/src/category-widget.cpp
|
|
+++ b/src/category-widget.cpp
|
|
@@ -22,6 +22,7 @@
|
|
#include <QPainter>
|
|
#include <QPropertyAnimation>
|
|
#include <QtMath>
|
|
+#include <QPainterPath>
|
|
|
|
#define ROLE_CATEGORY_INDEX Qt::UserRole
|
|
|
|
@@ -175,4 +176,4 @@ void CategoryWidget::setCurrentCategory(int index)
|
|
{
|
|
auto item = ui->categorys->item(index);
|
|
ui->categorys->setCurrentItem(item);
|
|
-}
|
|
\ No newline at end of file
|
|
+}
|
|
--
|
|
1.8.3.1
|
|
|