1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-10 16:14:40 +02:00

less spam kthxbbq

This commit is contained in:
Leo Franchi
2011-01-28 23:01:18 -05:00
parent 421e64f2f9
commit d22acbc716

View File

@@ -117,7 +117,7 @@ CollapsibleControls::setControls( const dynplaylist_ptr& playlist, bool isLocal
void void
CollapsibleControls::toggleCollapse() CollapsibleControls::toggleCollapse()
{ {
qDebug() << "TOGGLING SIZEHINTS:" << m_controls->height() << m_summaryWidget->sizeHint(); // qDebug() << "TOGGLING SIZEHINTS:" << m_controls->height() << m_summaryWidget->sizeHint();
m_timeline->setEasingCurve( QEasingCurve::OutBack ); m_timeline->setEasingCurve( QEasingCurve::OutBack );
m_timeline->setFrameRange( m_summaryWidget->sizeHint().height(), m_controls->height() ); m_timeline->setFrameRange( m_summaryWidget->sizeHint().height(), m_controls->height() );
m_collapseAnimation = true; m_collapseAnimation = true;
@@ -141,7 +141,7 @@ CollapsibleControls::toggleCollapse()
void void
CollapsibleControls::onAnimationStep( int step ) CollapsibleControls::onAnimationStep( int step )
{ {
qDebug() << "ANIMATION STEP:" << step; // qDebug() << "ANIMATION STEP:" << step;
resize( width(), step ); resize( width(), step );
m_animHeight = step; m_animHeight = step;
setMaximumHeight( m_animHeight ); setMaximumHeight( m_animHeight );
@@ -150,7 +150,7 @@ CollapsibleControls::onAnimationStep( int step )
void void
CollapsibleControls::onAnimationFinished() CollapsibleControls::onAnimationFinished()
{ {
qDebug() << "ANIMATION DONE:" << m_animHeight; // qDebug() << "ANIMATION DONE:" << m_animHeight;
setMaximumHeight( m_animHeight ); setMaximumHeight( m_animHeight );
m_animHeight = -1; m_animHeight = -1;