mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-31 11:35:24 +01:00
parent
7238bd7014
commit
d0ddeb2956
@ -56,12 +56,12 @@ Playlist::~Playlist() {
|
||||
}
|
||||
|
||||
QVariant Playlist::headerData(int section, Qt::Orientation, int role) const {
|
||||
if (role != Qt::DisplayRole)
|
||||
if (role != Qt::DisplayRole && role != Qt::ToolTipRole)
|
||||
return QVariant();
|
||||
|
||||
QString name = column_name((Playlist::Column)section);
|
||||
if(name.size())
|
||||
return name;
|
||||
return name;
|
||||
|
||||
return QVariant();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user