[vlc-devel] commit: Qt: EPGItem doesn't need QObject inheritage (Jean-Baptiste Kempf )

git version control git at videolan.org
Thu Jan 28 01:38:48 CET 2010


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Jan 27 15:06:14 2010 +0100| [613ec7315ecf75096b6ae999701a76e955b1c547] | committer: Jean-Baptiste Kempf 

Qt: EPGItem doesn't need QObject inheritage

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

 modules/gui/qt4/Modules.am                 |    1 -
 modules/gui/qt4/components/epg/EPGItem.hpp |    3 +--
 2 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/modules/gui/qt4/Modules.am b/modules/gui/qt4/Modules.am
index 048df1b..32f5fab 100644
--- a/modules/gui/qt4/Modules.am
+++ b/modules/gui/qt4/Modules.am
@@ -53,7 +53,6 @@ nodist_SOURCES_qt4 = \
 		components/interface_widgets.moc.cpp \
 		components/controller.moc.cpp \
 		components/controller_widget.moc.cpp \
-		components/epg/EPGItem.moc.cpp \
 		components/epg/EPGRuler.moc.cpp \
 		components/epg/EPGView.moc.cpp \
 		components/epg/EPGWidget.moc.cpp \
diff --git a/modules/gui/qt4/components/epg/EPGItem.hpp b/modules/gui/qt4/components/epg/EPGItem.hpp
index 7a1c3b5..376ba6d 100644
--- a/modules/gui/qt4/components/epg/EPGItem.hpp
+++ b/modules/gui/qt4/components/epg/EPGItem.hpp
@@ -24,7 +24,6 @@
 #ifndef EPGITEM_H
 #define EPGITEM_H
 
-#include <QObject>
 #include <QGraphicsItem>
 
 class QPainter;
@@ -33,7 +32,7 @@ class QDateTime;
 
 class EPGView;
 
-class EPGItem : public QObject, public QGraphicsItem
+class EPGItem : public QGraphicsItem
 {
 public:
     EPGItem( EPGView *view );




More information about the vlc-devel mailing list