Permalink
Browse files

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

  • Loading branch information...
1 parent 0927347 commit 5530d589973e6a5bff9f8fcd4a99bdba3df06e2e @teo teo committed Apr 5, 2013
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/libtomahawk/accounts/AccountDelegate.cpp
@@ -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);

0 comments on commit 5530d58

Please sign in to comment.