diff --git a/src/network/connection.cpp b/src/network/connection.cpp index 384ff435b..64f7f4d50 100644 --- a/src/network/connection.cpp +++ b/src/network/connection.cpp @@ -260,7 +260,7 @@ Connection::socketDisconnected() if( m_msgprocessor_in.length() == 0 && m_sock->bytesAvailable() == 0 ) { handleIncomingQueueEmpty(); - actualShutdown(); +// actualShutdown(); } } diff --git a/src/utils/animatedsplitter.cpp b/src/utils/animatedsplitter.cpp index 581ef54df..f0abc5087 100644 --- a/src/utils/animatedsplitter.cpp +++ b/src/utils/animatedsplitter.cpp @@ -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;