[vlc-commits] qt: remove useless forward declarations

Romain Vimont git at videolan.org
Thu May 3 11:33:05 CEST 2018


vlc | branch: master | Romain Vimont <rom1v at videolabs.io> | Thu May  3 10:21:22 2018 +0200| [97c4f9065266998618c6bc604685b3eca14406f6] | committer: Hugo Beauzée-Luyssen

qt: remove useless forward declarations

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.

Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=97c4f9065266998618c6bc604685b3eca14406f6
---

 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



More information about the vlc-commits mailing list