I checked the wrong filepath
This commit is contained in:
@@ -34,9 +34,8 @@ void Toasts::sendChannelNotification(const QString &channelName, Platform p)
|
|||||||
{
|
{
|
||||||
// Fetch user profile avatar
|
// Fetch user profile avatar
|
||||||
if (p == Platform::Twitch) {
|
if (p == Platform::Twitch) {
|
||||||
QFileInfo check_file(
|
QFileInfo check_file(getPaths()->twitchProfileAvatars + "/twitch/" +
|
||||||
QStandardPaths::writableLocation(QStandardPaths::AppDataLocation) +
|
channelName + ".png");
|
||||||
"2/cache/profileAvatars/twitch/" + channelName + ".png");
|
|
||||||
if (check_file.exists() && check_file.isFile()) {
|
if (check_file.exists() && check_file.isFile()) {
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_OS_WIN
|
||||||
this->sendWindowsNotification(channelName, p);
|
this->sendWindowsNotification(channelName, p);
|
||||||
|
|||||||
Reference in New Issue
Block a user