refactor: Toast (#4899)

* Fixes a bug where avatars weren't loaded on fresh installations of Chatterino.
* Avatars now update every two weeks.
* Removes misleading `DownlaodManager` (now part of `Toasts.cpp`).
* Refactors usage of WinToast to be easier to read.
* Added version to AUMI.
* Removes manual `QString` → `std::wstring` conversions.
* Removes uses of implicit ASCII casts in `Toasts.cpp`, meaning it can be compiled with `QT_NO_CAST_FROM_ASCII`.
This commit is contained in:
nerix
2023-10-17 03:50:18 +02:00
committed by GitHub
parent bddc08abd0
commit b975900043
9 changed files with 186 additions and 210 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ public:
// Hash of QCoreApplication::applicationFilePath()
QString applicationFilePathHash;
// Profile avatars for Twitch <appDataDirectory>/cache/twitch
// Profile avatars for Twitch <appDataDirectory>/ProfileAvatars/twitch
QString twitchProfileAvatars;
// Plugin files live here. <appDataDirectory>/Plugins