Commit 4a4422c3 authored by Hugo Beauzee-Luyssen's avatar Hugo Beauzee-Luyssen

Fixed resize

parent 2e2586c4
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
AbstractGraphicsMediaItem::AbstractGraphicsMediaItem() : AbstractGraphicsMediaItem::AbstractGraphicsMediaItem() :
oldTrackNumber( -1 ), oldPosition( -1 ), m_tracksView( NULL ), oldTrackNumber( -1 ), oldPosition( -1 ), m_tracksView( NULL ),
m_group( NULL ), m_width( 0 ), m_height( 0 ) m_group( NULL ), m_width( 0 ), m_height( 0 ), m_resizeExpected( false )
{ {
} }
...@@ -135,6 +135,7 @@ void AbstractGraphicsMediaItem::resize( qint64 size, From from ) ...@@ -135,6 +135,7 @@ void AbstractGraphicsMediaItem::resize( qint64 size, From from )
void AbstractGraphicsMediaItem::adjustLength() void AbstractGraphicsMediaItem::adjustLength()
{ {
qDebug() << "Resize event. m_resizeExpected:" << m_resizeExpected;
if ( m_resizeExpected == true ) if ( m_resizeExpected == true )
{ {
m_resizeExpected = false; m_resizeExpected = false;
......
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