mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-23 17:29:42 +01:00
* Allow API users to set an empty tooltip for TrackViews.
This commit is contained in:
parent
0a7b6c9a22
commit
218098e1ff
@ -173,6 +173,13 @@ TrackView::setPlayableModel( PlayableModel* model )
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
TrackView::setEmptyTip( const QString& tip )
|
||||
{
|
||||
m_overlay->setText( tip );
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
TrackView::onViewChanged()
|
||||
{
|
||||
|
@ -60,6 +60,8 @@ public:
|
||||
Tomahawk::ContextMenu* contextMenu() const { return m_contextMenu; }
|
||||
AnimatedSpinner* loadingSpinner() const { return m_loadingSpinner; }
|
||||
|
||||
void setEmptyTip( const QString& tip );
|
||||
|
||||
virtual QWidget* widget() { return this; }
|
||||
virtual Tomahawk::playlistinterface_ptr playlistInterface() const;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user