Commit c4df6dd5 authored by Ludovic Fauvet's avatar Ludovic Fauvet

Set a getter as virtual in media items

parent ad61ee7c
......@@ -50,6 +50,9 @@ public:
/// Should return the unique uid of the contained media.
virtual const QUuid& uuid() const = 0;
/// Clip contained in the item
virtual Clip* clip() const = 0;
/// Return the type of the media
virtual MainWorkflow::TrackType mediaType() const = 0;
......
......@@ -51,7 +51,7 @@ public:
void setWidth( int width );
void setHeight( int height );
Clip* clip() const;
virtual Clip* clip() const;
protected:
void paintRect( QPainter* painter, const QStyleOptionGraphicsItem* option );
......
......@@ -51,7 +51,7 @@ public:
void setWidth( int width );
void setHeight( int height );
Clip* clip() const;
virtual Clip* clip() const;
protected:
void paintRect( QPainter* painter, const QStyleOptionGraphicsItem* option );
......
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