mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 22:26:32 +02:00
* Fixed QTimeLine warning and give the biography on the Artist-Page as much space as possible.
This commit is contained in:
@@ -52,7 +52,6 @@ LoadingSpinner::LoadingSpinner( QWidget* parent )
|
||||
|
||||
LoadingSpinner::~LoadingSpinner()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -60,8 +59,11 @@ void
|
||||
LoadingSpinner::fadeIn()
|
||||
{
|
||||
show();
|
||||
|
||||
m_anim->start();
|
||||
m_showHide->setDirection( QTimeLine::Forward );
|
||||
|
||||
if ( m_showHide->state() != QTimeLine::Running )
|
||||
m_showHide->start();
|
||||
}
|
||||
|
||||
@@ -70,9 +72,8 @@ void
|
||||
LoadingSpinner::fadeOut()
|
||||
{
|
||||
m_showHide->setDirection( QTimeLine::Backward );
|
||||
if( m_showHide->state() == QTimeLine::Running )
|
||||
m_showHide->stop();
|
||||
|
||||
if ( m_showHide->state() != QTimeLine::Running )
|
||||
m_showHide->start();
|
||||
}
|
||||
|
||||
@@ -80,7 +81,8 @@ LoadingSpinner::fadeOut()
|
||||
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">
|
||||
|
Reference in New Issue
Block a user