mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Remove getPaths() usage from Toasts
This commit is contained in:
parent
42def13b60
commit
601e87fcb0
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue