mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-15 18:58:55 +01:00
Add tooltip for cover manager's items, which displays artist and album name info. Fixes issue 451
This commit is contained in:
parent
4cd01a43b7
commit
fb36940d5e
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user