Skip to content

Commit

Permalink
Add kick icon
Browse files Browse the repository at this point in the history
  • Loading branch information
Dussed committed Jul 16, 2024
1 parent a38dbbd commit b1ad248
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
Binary file added media/kick.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion multistream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ QIcon MultistreamDock::getPlatformFromEndpoint(QString endpoint) {
} else if (endpoint.contains(QString::fromUtf8(".youtube.com"))) { // youtube
return platformIconYouTube;
} else if (endpoint.contains(QString::fromUtf8("fa723fc1b171.global-contribute.live-video.net"))) { // kick
return platformIconUnknown;
return platformIconKick;
} else if (endpoint.contains(QString::fromUtf8(".tiktokcdn-"))) { // tiktok
return platformIconTikTok;
} else if (endpoint.contains(QString::fromUtf8(".pscp.tv"))) { // twitter
Expand Down
2 changes: 1 addition & 1 deletion multistream.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class MultistreamDock : public QFrame {
// Platform icons
QIcon platformIconTwitch = QIcon(":/aitum/media/twitch.png");
QIcon platformIconYouTube = QIcon(":/aitum/media/youtube.png");
// QIcon platformIconKick = QIcon(":/aitum/media/stream.svg");
QIcon platformIconKick = QIcon(":/aitum/media/kick.png");
QIcon platformIconTikTok = QIcon(":/aitum/media/tiktok.png");
QIcon platformIconTwitter = QIcon(":/aitum/media/twitter.png");
QIcon platformIconTrovo = QIcon(":/aitum/media/trovo.png");
Expand Down
1 change: 1 addition & 0 deletions resources.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@
<file>media/twitter.png</file>
<file>media/unknown.png</file>
<file>media/youtube.png</file>
<file>media/kick.png</file>
</qresource>
</RCC>

0 comments on commit b1ad248

Please sign in to comment.