From 5530d589973e6a5bff9f8fcd4a99bdba3df06e2e Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Fri, 5 Apr 2013 23:11:12 +0200 Subject: [PATCH] Temporary special case for Twitter, don't show connection status. --- src/libtomahawk/accounts/AccountDelegate.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/libtomahawk/accounts/AccountDelegate.cpp b/src/libtomahawk/accounts/AccountDelegate.cpp index be0306e96..9a23c0774 100644 --- a/src/libtomahawk/accounts/AccountDelegate.cpp +++ b/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);