From fb36940d5e77b34251c02b49dbc507d2299080dc Mon Sep 17 00:00:00 2001 From: Arnaud Bienner Date: Tue, 8 Feb 2011 22:54:37 +0000 Subject: [PATCH] Add tooltip for cover manager's items, which displays artist and album name info. Fixes issue 451 --- src/ui/albumcovermanager.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ui/albumcovermanager.cpp b/src/ui/albumcovermanager.cpp index 97c6c604e..eb3fd8440 100644 --- a/src/ui/albumcovermanager.cpp +++ b/src/ui/albumcovermanager.cpp @@ -287,6 +287,7 @@ void AlbumCoverManager::ArtistChanged(QListWidgetItem* current) { item->setData(Role_FirstFilename, info.first_filename); item->setData(Qt::TextAlignmentRole, QVariant(Qt::AlignTop | Qt::AlignHCenter)); item->setFlags(Qt::ItemIsSelectable | Qt::ItemIsEnabled | Qt::ItemIsDragEnabled); + item->setToolTip(info.artist + " - " + info.album_name); if (!info.art_automatic.isEmpty() || !info.art_manual.isEmpty()) { quint64 id = cover_loader_->Worker()->LoadImageAsync(