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:
@@ -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;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user