1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-10-04 17:41:42 +02:00

Added offline account icons.

This commit is contained in:
Teo Mrnjavac
2012-08-14 15:17:04 +02:00
parent f313ba473e
commit eb559dd0a0
13 changed files with 48 additions and 21 deletions

View File

@@ -53,6 +53,14 @@ XmppAccount::~XmppAccount()
delete m_xmppSipPlugin.data();
}
QPixmap
XmppAccount::icon() const
{
if ( connectionState() == Connected )
return QPixmap( ":/xmpp-icon.png" );
return QPixmap( ":/xmpp-offline-icon.png" );
}
void
XmppAccount::authenticate()