mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-18 12:28:31 +01:00
Add Twitter icon.
This commit is contained in:
parent
5af50f7db0
commit
0da9afa0e3
@ -282,6 +282,7 @@
|
|||||||
<file>providers/mtvmusic.png</file>
|
<file>providers/mtvmusic.png</file>
|
||||||
<file>providers/cdbaby.png</file>
|
<file>providers/cdbaby.png</file>
|
||||||
<file>providers/echonest.png</file>
|
<file>providers/echonest.png</file>
|
||||||
|
<file>providers/twitter.png</file>
|
||||||
<file>lumberjacksong.txt</file>
|
<file>lumberjacksong.txt</file>
|
||||||
<file>schema/schema-18.sql</file>
|
<file>schema/schema-18.sql</file>
|
||||||
<file>star-off.png</file>
|
<file>star-off.png</file>
|
||||||
|
BIN
data/providers/twitter.png
Normal file
BIN
data/providers/twitter.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.6 KiB |
@ -17,6 +17,7 @@
|
|||||||
|
|
||||||
#include "twitterartistinfo.h"
|
#include "twitterartistinfo.h"
|
||||||
|
|
||||||
|
#include <QIcon>
|
||||||
#include <QXmlStreamWriter>
|
#include <QXmlStreamWriter>
|
||||||
|
|
||||||
#include <echonest/Artist.h>
|
#include <echonest/Artist.h>
|
||||||
@ -198,6 +199,7 @@ void TwitterArtistInfo::UserTimelineRequestFinished(
|
|||||||
data.type_ = CollapsibleInfoPane::Data::Type_Biography;
|
data.type_ = CollapsibleInfoPane::Data::Type_Biography;
|
||||||
data.id_ = "twitter/" + twitter_id;
|
data.id_ = "twitter/" + twitter_id;
|
||||||
data.title_ = QString("Twitter (%1)").arg(twitter_id);
|
data.title_ = QString("Twitter (%1)").arg(twitter_id);
|
||||||
|
data.icon_ = QIcon(":providers/twitter.png");
|
||||||
|
|
||||||
QString html = GenerateHtmlForTweetStream(result.toList());
|
QString html = GenerateHtmlForTweetStream(result.toList());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user