]> git.sesse.net Git - vlc/commitdiff
Qt: EPGItem doesn't need QObject inheritage
authorJean-Baptiste Kempf <jb@videolan.org>
Wed, 27 Jan 2010 14:06:14 +0000 (15:06 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 28 Jan 2010 00:38:51 +0000 (01:38 +0100)
modules/gui/qt4/Modules.am
modules/gui/qt4/components/epg/EPGItem.hpp

index 048df1b616ffe97a6407b509f5daffb77cedd884..32f5fabd6f7368773cdae2f3c5c6da9bd339b5d9 100644 (file)
@@ -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 \
index 7a1c3b511360b63335ac2d6e58d6065f44858eee..376ba6d7ba018595121fcf901cc8db56cfca019f 100644 (file)
@@ -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 );