mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
I checked the wrong filepath
This commit is contained in:
parent
8994307e51
commit
05d0b20919
1 changed files with 2 additions and 3 deletions
|
@ -34,9 +34,8 @@ void Toasts::sendChannelNotification(const QString &channelName, Platform p)
|
|||
{
|
||||
// Fetch user profile avatar
|
||||
if (p == Platform::Twitch) {
|
||||
QFileInfo check_file(
|
||||
QStandardPaths::writableLocation(QStandardPaths::AppDataLocation) +
|
||||
"2/cache/profileAvatars/twitch/" + channelName + ".png");
|
||||
QFileInfo check_file(getPaths()->twitchProfileAvatars + "/twitch/" +
|
||||
channelName + ".png");
|
||||
if (check_file.exists() && check_file.isFile()) {
|
||||
#ifdef Q_OS_WIN
|
||||
this->sendWindowsNotification(channelName, p);
|
||||
|
|
Loading…
Reference in a new issue