1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-18 23:09:42 +01:00

Fix comparison between signed and unsigned int

This commit is contained in:
Uwe L. Korn 2014-05-28 17:35:36 +01:00
parent 299c358a87
commit c22ebed8e1

View File

@ -452,7 +452,7 @@ PlaylistItemDelegate::drawAvatarsForBox( QPainter* painter,
QHash< Tomahawk::source_ptr, QRect > rectsToSave;
unsigned int i = 0;
int i = 0;
foreach ( const Tomahawk::source_ptr& s, sources )
{
if ( i >= count )
@ -575,7 +575,6 @@ PlaylistItemDelegate::editorEvent( QEvent* event, QAbstractItemModel* model, con
if ( !hoveredAvatar.isNull() )
{
const QMouseEvent* ev = static_cast< QMouseEvent* >( event );
QToolTip::showText( m_view->mapToGlobal( hoveredAvatarRect.bottomLeft() ),
hoveredAvatar->friendlyName(),
m_view,