1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-07-31 19:30:21 +02:00

show account name in delegate properly

This commit is contained in:
Leo Franchi
2011-12-16 18:11:15 -05:00
parent 3607d364e7
commit 7783f48bae

View File

@@ -53,7 +53,7 @@ AccountModel::data( const QModelIndex& index, int role ) const
{
case Qt::DisplayRole:
case AccountModel::AccountName:
return account->accountServiceName();
return account->accountFriendlyName();
case AccountModel::ConnectionStateRole:
return account->connectionState();
case AccountModel::HasConfig: