1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-02-22 19:05:05 +01:00

Temporary special case for Twitter, don't show connection status.

This commit is contained in:
Teo Mrnjavac 2013-04-05 23:11:12 +02:00
parent 09273478e0
commit 5530d58997

View File

@ -418,8 +418,10 @@ AccountDelegate::drawAccountList( QPainter* painter, QStyleOptionViewItemV4& opt
for ( int i = 0; i < accts.size(); i++ )
{
//FIXME: special case for twitter, remove for 0.8.0
if ( accts.at( i )->accountServiceName() != "Twitter" )
// draw lightbulb and text
runningRightEdge = drawStatus( painter, QPointF( rightEdge - PADDING, current), accts.at( i ) );
runningRightEdge = drawStatus( painter, QPointF( rightEdge - PADDING, current), accts.at( i ) );
const QString label = accts.at( i )->accountFriendlyName();
const QPoint textTopLeft( runningRightEdge - PADDING - painter->fontMetrics().width( label ), current);