mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 06:07:37 +02:00
* Use jump-label in AudioControls.
This commit is contained in:
@@ -61,6 +61,7 @@ AudioControls::AudioControls( QWidget* parent )
|
|||||||
ui->artistTrackLabel->setFont( font );
|
ui->artistTrackLabel->setFont( font );
|
||||||
ui->artistTrackLabel->setElideMode( Qt::ElideMiddle );
|
ui->artistTrackLabel->setElideMode( Qt::ElideMiddle );
|
||||||
ui->artistTrackLabel->setType( QueryLabel::ArtistAndTrack );
|
ui->artistTrackLabel->setType( QueryLabel::ArtistAndTrack );
|
||||||
|
ui->artistTrackLabel->setJumpLinkVisible( true );
|
||||||
|
|
||||||
ui->albumLabel->setFont( font );
|
ui->albumLabel->setFont( font );
|
||||||
ui->albumLabel->setType( QueryLabel::Album );
|
ui->albumLabel->setType( QueryLabel::Album );
|
||||||
@@ -549,7 +550,6 @@ void
|
|||||||
AudioControls::onTrackClicked()
|
AudioControls::onTrackClicked()
|
||||||
{
|
{
|
||||||
ViewManager::instance()->show( m_currentTrack->toQuery() );
|
ViewManager::instance()->show( m_currentTrack->toQuery() );
|
||||||
// ViewManager::instance()->showCurrentTrack();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -207,9 +207,6 @@
|
|||||||
<height>16</height>
|
<height>16</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="cursor">
|
|
||||||
<cursorShape>PointingHandCursor</cursorShape>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Artist</string>
|
<string>Artist</string>
|
||||||
</property>
|
</property>
|
||||||
@@ -229,9 +226,6 @@
|
|||||||
<height>16</height>
|
<height>16</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="cursor">
|
|
||||||
<cursorShape>PointingHandCursor</cursorShape>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Album</string>
|
<string>Album</string>
|
||||||
</property>
|
</property>
|
||||||
|
Reference in New Issue
Block a user