mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-12 17:14:00 +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 )
|
||||
{
|
||||
handleIncomingQueueEmpty();
|
||||
actualShutdown();
|
||||
// actualShutdown();
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -26,10 +26,11 @@ AnimatedSplitter::show( int index, bool animate )
|
||||
|
||||
QWidget* w = widget( index );
|
||||
QSize size = w->sizeHint();
|
||||
w->setMaximumHeight( QWIDGETSIZE_MAX );
|
||||
|
||||
if ( w->height() == size.height() )
|
||||
return;
|
||||
|
||||
w->setMaximumHeight( QWIDGETSIZE_MAX );
|
||||
qDebug() << "animating to:" << size.height() << "from" << w->height();
|
||||
|
||||
m_animateForward = true;
|
||||
@@ -59,10 +60,11 @@ AnimatedSplitter::hide( int index, bool animate )
|
||||
|
||||
QWidget* w = widget( index );
|
||||
int minHeight = m_sizes.at( index ).height();
|
||||
w->setMinimumHeight( minHeight );
|
||||
|
||||
if ( w->height() == minHeight )
|
||||
return;
|
||||
|
||||
w->setMinimumHeight( minHeight );
|
||||
qDebug() << "animating to:" << w->height() << "from" << minHeight;
|
||||
|
||||
m_animateForward = false;
|
||||
|
Reference in New Issue
Block a user