commit 9d9f13ff83b13ae25ffd2a507b69a6d8fef34db0
Author: Pavel Sanda <sa...@lyx.org>
Date:   Wed Sep 18 21:25:18 2024 +0200

    Move header where needed.
---
 src/frontends/qt/GuiPainter.cpp  | 1 +
 src/frontends/qt/GuiPainter.h    | 1 -
 src/frontends/qt/GuiWorkArea.cpp | 1 +
 3 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/frontends/qt/GuiPainter.cpp b/src/frontends/qt/GuiPainter.cpp
index 48c19f9168..b01851b9a5 100644
--- a/src/frontends/qt/GuiPainter.cpp
+++ b/src/frontends/qt/GuiPainter.cpp
@@ -30,6 +30,7 @@
 
 #include <algorithm>
 
+#include <QPainterPath>
 #include <QTextLayout>
 
 using namespace std;
diff --git a/src/frontends/qt/GuiPainter.h b/src/frontends/qt/GuiPainter.h
index 932072e481..e6e113a0c5 100644
--- a/src/frontends/qt/GuiPainter.h
+++ b/src/frontends/qt/GuiPainter.h
@@ -18,7 +18,6 @@
 #include "frontends/Painter.h"
 
 #include <QPainter>
-#include <QPainterPath>
 #include <stack>
 
 namespace lyx {
diff --git a/src/frontends/qt/GuiWorkArea.cpp b/src/frontends/qt/GuiWorkArea.cpp
index 210a15036f..cc92408943 100644
--- a/src/frontends/qt/GuiWorkArea.cpp
+++ b/src/frontends/qt/GuiWorkArea.cpp
@@ -62,6 +62,7 @@
 #include <QMimeData>
 #include <QMenu>
 #include <QPainter>
+#include <QPainterPath>
 #include <QPalette>
 #include <QScrollBar>
 #include <QStyleOption>
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to