1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-18 20:34:39 +01:00

Add Twitter icon.

This commit is contained in:
John Maguire 2012-05-29 18:51:46 -07:00
parent 5af50f7db0
commit 0da9afa0e3
3 changed files with 3 additions and 0 deletions

View File

@ -282,6 +282,7 @@
<file>providers/mtvmusic.png</file>
<file>providers/cdbaby.png</file>
<file>providers/echonest.png</file>
<file>providers/twitter.png</file>
<file>lumberjacksong.txt</file>
<file>schema/schema-18.sql</file>
<file>star-off.png</file>

BIN
data/providers/twitter.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@ -17,6 +17,7 @@
#include "twitterartistinfo.h"
#include <QIcon>
#include <QXmlStreamWriter>
#include <echonest/Artist.h>
@ -198,6 +199,7 @@ void TwitterArtistInfo::UserTimelineRequestFinished(
data.type_ = CollapsibleInfoPane::Data::Type_Biography;
data.id_ = "twitter/" + twitter_id;
data.title_ = QString("Twitter (%1)").arg(twitter_id);
data.icon_ = QIcon(":providers/twitter.png");
QString html = GenerateHtmlForTweetStream(result.toList());