Commit e1a56493 authored by Ludovic Fauvet's avatar Ludovic Fauvet

Build fix for Qt version < 4.6

parent cf0ba653
......@@ -40,7 +40,11 @@ class GraphicsTrack;
class AbstractGraphicsMediaItem : public QObject, public QGraphicsItem
{
Q_OBJECT
#if QT_VERSION >= 0x40600
Q_INTERFACES( QGraphicsItem )
#endif
friend class TracksView;
public:
enum From
......
......@@ -36,7 +36,11 @@ class QGraphicsSceneMouseEvent;
class GraphicsCursorItem : public QObject, public QGraphicsItem
{
Q_OBJECT
#if QT_VERSION >= 0x40600
Q_INTERFACES( QGraphicsItem )
#endif
public:
GraphicsCursorItem( const QPen& pen );
int cursorPos() const { return ( int )pos().x(); }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment