Commit c9dcae4b authored by Ludovic Fauvet's avatar Ludovic Fauvet
Browse files

This should be an int64

parent 2c1dfcc8
......@@ -600,13 +600,13 @@ QList<AbstractGraphicsMediaItem*> TracksView::mediaItems( const QPoint& pos )
return mediaCollisionList;
}
void TracksView::setCursorPos( int pos )
void TracksView::setCursorPos( qint64 pos )
{
if ( pos < 0 ) pos = 0;
m_cursorLine->setCursorPos( pos );
}
int TracksView::cursorPos()
qint64 TracksView::cursorPos()
{
return m_cursorLine->cursorPos();
}
......
......@@ -51,8 +51,8 @@ public:
int duration() const { return m_projectDuration; }
int tracksHeight() const { return m_tracksHeight; }
unsigned int tracksCount() const { return m_tracksCount; }
void setCursorPos( int pos );
int cursorPos();
void setCursorPos( qint64 pos );
qint64 cursorPos();
GraphicsCursorItem* tracksCursor() const { return m_cursorLine; }
void setScale( double scaleFactor );
QList<AbstractGraphicsMediaItem*> mediaItems( const QPoint& pos );
......
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