From 74a187e65986a68bec1cc8711eb2d9400b0a0a54 Mon Sep 17 00:00:00 2001 From: joshua Date: Wed, 27 Jul 2022 14:52:50 +0200 Subject: [PATCH] Minor --- sources/qgimanager.cpp | 3 +++ sources/qgimanager.h | 7 +++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/sources/qgimanager.cpp b/sources/qgimanager.cpp index 34c7ddecc..77e2d9dba 100644 --- a/sources/qgimanager.cpp +++ b/sources/qgimanager.cpp @@ -17,6 +17,9 @@ */ #include "qgimanager.h" +#include +#include + /** Constructeur @param sc QGraphicsScene a utiliser pour gerer au mieux les QGraphicsItem diff --git a/sources/qgimanager.h b/sources/qgimanager.h index 15f24d362..d8a8e0e81 100644 --- a/sources/qgimanager.h +++ b/sources/qgimanager.h @@ -17,9 +17,12 @@ */ #ifndef QGI_MANAGER_H #define QGI_MANAGER_H + #include -#include -#include + +class QGraphicsScene; +class QGraphicsItem; + /** This class provides a QGraphicsItem manager, which can delete QGraphicsItem as soon as there is no reference to them anymore.