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:
parent
87531a7ac9
commit
d4ccbdfa56
src/libtomahawk/playlist
@ -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">
|
||||
|
Loading…
x
Reference in New Issue
Block a user