mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-01 03:40:16 +02:00
* Getting rid of some debug output.
This commit is contained in:
@@ -26,7 +26,6 @@ AnimatedSplitter::show( int index, bool animate )
|
|||||||
QWidget* w = widget( index );
|
QWidget* w = widget( index );
|
||||||
QSize size = w->sizeHint();
|
QSize size = w->sizeHint();
|
||||||
w->setMaximumHeight( QWIDGETSIZE_MAX );
|
w->setMaximumHeight( QWIDGETSIZE_MAX );
|
||||||
qDebug() << "SizeHint:" << index << w->height() << size;
|
|
||||||
|
|
||||||
m_animateForward = true;
|
m_animateForward = true;
|
||||||
if ( animate )
|
if ( animate )
|
||||||
@@ -61,7 +60,6 @@ AnimatedSplitter::hide( int index, bool animate )
|
|||||||
m_animateIndex = index;
|
m_animateIndex = index;
|
||||||
|
|
||||||
QWidget* w = widget( index );
|
QWidget* w = widget( index );
|
||||||
qDebug() << "SizeHint:" << index << w->height();
|
|
||||||
w->setMinimumHeight( 25 );
|
w->setMinimumHeight( 25 );
|
||||||
m_greedyHeight = widget( m_greedyIndex )->height();
|
m_greedyHeight = widget( m_greedyIndex )->height();
|
||||||
|
|
||||||
@@ -144,8 +142,6 @@ AnimatedSplitter::onHideRequest()
|
|||||||
void
|
void
|
||||||
AnimatedSplitter::onAnimationStep( int frame )
|
AnimatedSplitter::onAnimationStep( int frame )
|
||||||
{
|
{
|
||||||
qDebug() << Q_FUNC_INFO << frame;
|
|
||||||
|
|
||||||
QList< int > sizes;
|
QList< int > sizes;
|
||||||
|
|
||||||
for ( int i = 0; i < count(); i ++ )
|
for ( int i = 0; i < count(); i ++ )
|
||||||
@@ -168,7 +164,6 @@ AnimatedSplitter::onAnimationStep( int frame )
|
|||||||
sizes << j;
|
sizes << j;
|
||||||
}
|
}
|
||||||
|
|
||||||
qDebug() << sizes;
|
|
||||||
setSizes( sizes );
|
setSizes( sizes );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user