mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-13 17:43:59 +02:00
* Comment out unsafe actualShutdown() call.
This commit is contained in:
@@ -260,7 +260,7 @@ Connection::socketDisconnected()
|
|||||||
if( m_msgprocessor_in.length() == 0 && m_sock->bytesAvailable() == 0 )
|
if( m_msgprocessor_in.length() == 0 && m_sock->bytesAvailable() == 0 )
|
||||||
{
|
{
|
||||||
handleIncomingQueueEmpty();
|
handleIncomingQueueEmpty();
|
||||||
actualShutdown();
|
// actualShutdown();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -26,10 +26,11 @@ 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 );
|
|
||||||
|
|
||||||
if ( w->height() == size.height() )
|
if ( w->height() == size.height() )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
w->setMaximumHeight( QWIDGETSIZE_MAX );
|
||||||
qDebug() << "animating to:" << size.height() << "from" << w->height();
|
qDebug() << "animating to:" << size.height() << "from" << w->height();
|
||||||
|
|
||||||
m_animateForward = true;
|
m_animateForward = true;
|
||||||
@@ -59,10 +60,11 @@ AnimatedSplitter::hide( int index, bool animate )
|
|||||||
|
|
||||||
QWidget* w = widget( index );
|
QWidget* w = widget( index );
|
||||||
int minHeight = m_sizes.at( index ).height();
|
int minHeight = m_sizes.at( index ).height();
|
||||||
w->setMinimumHeight( minHeight );
|
|
||||||
|
|
||||||
if ( w->height() == minHeight )
|
if ( w->height() == minHeight )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
w->setMinimumHeight( minHeight );
|
||||||
qDebug() << "animating to:" << w->height() << "from" << minHeight;
|
qDebug() << "animating to:" << w->height() << "from" << minHeight;
|
||||||
|
|
||||||
m_animateForward = false;
|
m_animateForward = false;
|
||||||
|
Reference in New Issue
Block a user