From cee18eebb20dc975ee45bb48b6b99ff3436029ce Mon Sep 17 00:00:00 2001 From: Arnaud Bienner Date: Sat, 29 Jun 2013 16:12:53 +0200 Subject: [PATCH] Add a tooltip to the favorite widget --- src/playlist/playlisttabbar.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/playlist/playlisttabbar.cpp b/src/playlist/playlisttabbar.cpp index 2fea370c9..c80dd968e 100644 --- a/src/playlist/playlisttabbar.cpp +++ b/src/playlist/playlisttabbar.cpp @@ -233,6 +233,9 @@ void PlaylistTabBar::InsertTab(int id, int index, const QString& text, bool favo setTabData(index, id); setTabToolTip(index, text); FavoriteWidget* widget = new FavoriteWidget(id, favorite); + widget->setToolTip(tr( + "Click here to favorite this playlist so it will be saved and remain accessible " + "through the \"Playlists\" panel on the left side bar")); connect(widget, SIGNAL(FavoriteStateChanged(int, bool)), SIGNAL(PlaylistFavorited(int, bool))); setTabButton(index, QTabBar::LeftSide, widget);