1 Star 0 Fork 5

hanshuang/deepin-manual

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0001-feat-add-include-QPainterPath.patch 1.11 KB
一键复制 编辑 原始数据 按行查看 历史
Venland 提交于 2023-02-10 10:57 . feat: add include QPainterPath
From 95f2520afea8ec1f27cfb96b95fa4d67bcb93a5e Mon Sep 17 00:00:00 2001
From: leeffo <leeffo@yeah.net>
Date: Fri, 10 Feb 2023 10:55:23 +0800
Subject: [PATCH] feat: add include QPainterPath
---
src/view/widget/search_button.cpp | 2 ++
src/view/widget/search_completion_delegate.cpp | 2 ++
2 files changed, 4 insertions(+)
diff --git a/src/view/widget/search_button.cpp b/src/view/widget/search_button.cpp
index 94081d4..4f64755 100644
--- a/src/view/widget/search_button.cpp
+++ b/src/view/widget/search_button.cpp
@@ -29,6 +29,8 @@
#include <DLog>
+#include <QPainterPath>
+
DWIDGET_USE_NAMESPACE
namespace dman {
diff --git a/src/view/widget/search_completion_delegate.cpp b/src/view/widget/search_completion_delegate.cpp
index 2cdd0ac..d2ae1d9 100644
--- a/src/view/widget/search_completion_delegate.cpp
+++ b/src/view/widget/search_completion_delegate.cpp
@@ -8,6 +8,8 @@
#include <DStyleHelper>
#include <DApplicationHelper>
+#include <QPainterPath>
+
SearchCompletionDelegate::SearchCompletionDelegate(QAbstractItemView *parent)
:DStyledItemDelegate(parent)
, m_parentView(parent)
--
2.20.1
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/hanshuang123456/deepin-manual.git
git@gitee.com:hanshuang123456/deepin-manual.git
hanshuang123456
deepin-manual
deepin-manual
master

搜索帮助