Remove getPaths() usage from Toasts

This commit is contained in:
Rasmus Karlsson 2024-01-15 23:10:41 +01:00
parent 42def13b60
commit 601e87fcb0

View file

@ -33,7 +33,8 @@ using namespace literals;
QString avatarFilePath(const QString &channelName)
{
// TODO: cleanup channel (to be used as a file) and use combinePath
return getPaths()->twitchProfileAvatars % '/' % channelName % u".png";
return getIApp()->getPaths().twitchProfileAvatars % '/' % channelName %
u".png";
}
bool hasAvatarForChannel(const QString &channelName)