From 05d0b20919a2b3dd8cead9f37bbd9633275f7fe3 Mon Sep 17 00:00:00 2001 From: apa420 Date: Fri, 31 Aug 2018 18:18:05 +0200 Subject: [PATCH] I checked the wrong filepath --- src/singletons/Toasts.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/singletons/Toasts.cpp b/src/singletons/Toasts.cpp index 0e840c260..af342675f 100644 --- a/src/singletons/Toasts.cpp +++ b/src/singletons/Toasts.cpp @@ -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);