diff changesetitem.h @ 168:4bad3c5c053a

* Add "Show summary" feature * Add simplistic kinetic scrolling to history widget
author Chris Cannam
date Tue, 14 Dec 2010 17:20:10 +0000
parents 70fe12873106
children 8fd71f570884
line wrap: on
line diff
--- a/changesetitem.h	Wed Dec 08 16:57:18 2010 +0000
+++ b/changesetitem.h	Tue Dec 14 17:20:10 2010 +0000
@@ -18,7 +18,7 @@
 #ifndef CHANGESETITEM_H
 #define CHANGESETITEM_H
 
-#include <QGraphicsItem>
+#include <QGraphicsObject>
 #include <QFont>
 
 class Changeset;
@@ -26,10 +26,9 @@
 
 class QAction;
 
-class ChangesetItem : public QObject, public QGraphicsItem
+class ChangesetItem : public QGraphicsObject
 {
     Q_OBJECT
-    Q_INTERFACES(QGraphicsItem)
 
 public:
     ChangesetItem(Changeset *cs);