1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-04-22 00:42:04 +02:00

* Fixed QTimeLine warning and give the biography on the Artist-Page as much space as possible.

This commit is contained in:
Christian Muehlhaeuser 2011-07-25 03:44:05 +02:00
parent 87531a7ac9
commit d4ccbdfa56
2 changed files with 9 additions and 7 deletions
src/libtomahawk/playlist
dynamic/widgets
infobar

@ -52,7 +52,6 @@ LoadingSpinner::LoadingSpinner( QWidget* parent )
LoadingSpinner::~LoadingSpinner()
{
}
@ -60,9 +59,12 @@ void
LoadingSpinner::fadeIn()
{
show();
m_anim->start();
m_showHide->setDirection( QTimeLine::Forward );
m_showHide->start();
if ( m_showHide->state() != QTimeLine::Running )
m_showHide->start();
}
@ -70,17 +72,17 @@ void
LoadingSpinner::fadeOut()
{
m_showHide->setDirection( QTimeLine::Backward );
if( m_showHide->state() == QTimeLine::Running )
m_showHide->stop();
m_showHide->start();
if ( m_showHide->state() != QTimeLine::Running )
m_showHide->start();
}
void
LoadingSpinner::hideFinished()
{
if( m_showHide->direction() == QTimeLine::Backward ) {
if ( m_showHide->direction() == QTimeLine::Backward )
{
hide();
m_anim->stop();
}

@ -25,7 +25,7 @@
<property name="windowTitle">
<string>InfoBar</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout" stretch="0,0,0,1,0,0,0">
<layout class="QHBoxLayout" name="horizontalLayout" stretch="0,0,0,1,0,99,0">
<item>
<spacer name="horizontalSpacer_3">
<property name="orientation">