1
0
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:
Christian Muehlhaeuser
2010-11-29 06:11:47 +01:00
parent 1019a7adb8
commit 2f14240b9e
2 changed files with 5 additions and 3 deletions

View File

@@ -260,7 +260,7 @@ Connection::socketDisconnected()
if( m_msgprocessor_in.length() == 0 && m_sock->bytesAvailable() == 0 )
{
handleIncomingQueueEmpty();
actualShutdown();
// actualShutdown();
}
}

View File

@@ -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;