mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-02-23 03:15:39 +01:00
Temporary special case for Twitter, don't show connection status.
This commit is contained in:
parent
09273478e0
commit
5530d58997
@ -418,8 +418,10 @@ AccountDelegate::drawAccountList( QPainter* painter, QStyleOptionViewItemV4& opt
|
|||||||
|
|
||||||
for ( int i = 0; i < accts.size(); i++ )
|
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
|
// 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 QString label = accts.at( i )->accountFriendlyName();
|
||||||
const QPoint textTopLeft( runningRightEdge - PADDING - painter->fontMetrics().width( label ), current);
|
const QPoint textTopLeft( runningRightEdge - PADDING - painter->fontMetrics().width( label ), current);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user