[vlc-devel] [PATCH 2/2] qt: remove useless forward declarations

Romain Vimont rom1v at videolabs.io
Thu May 3 10:21:22 CEST 2018


The forward-declared types are necessarily already declared, since they
are used either in class fields as objects (without pointer or
reference), either as a parameter of an inherited method.
---
 modules/gui/qt/util/timetooltip.hpp | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/modules/gui/qt/util/timetooltip.hpp b/modules/gui/qt/util/timetooltip.hpp
index e7e57f622a..b6d7c646c9 100644
--- a/modules/gui/qt/util/timetooltip.hpp
+++ b/modules/gui/qt/util/timetooltip.hpp
@@ -26,12 +26,6 @@
 
 #include <QWidget>
 
-class QPaintEvent;
-class QString;
-class QFont;
-class QRect;
-class QPainterPath;
-
 class TimeTooltip : public QWidget
 {
     Q_OBJECT
-- 
2.17.0



More information about the vlc-devel mailing list