fix: don't try to save emote popup bounds when we're quitting (#6292)

This commit is contained in:
pajlada
2025-06-22 16:04:06 +02:00
committed by GitHub
parent 4c08a9bf26
commit 3ba42bd91b
2 changed files with 6 additions and 0 deletions
+1
View File
@@ -50,6 +50,7 @@
- Dev: Added a `run-and-kill.sh` script to help debug crash-on-exit bugs. (#6188) - Dev: Added a `run-and-kill.sh` script to help debug crash-on-exit bugs. (#6188)
- Dev: Refactored the `TimeoutStackStyle` enum into its own file. (#6216) - Dev: Refactored the `TimeoutStackStyle` enum into its own file. (#6216)
- Dev: Refactored `Notebook`-related enums into their own file. (#6220) - Dev: Refactored `Notebook`-related enums into their own file. (#6220)
- Dev: Don't try to save emote popup bounds if we're quitting. (#6292)
- Dev: Implemented customizable display names for enums. (#6238) - Dev: Implemented customizable display names for enums. (#6238)
- Dev: Refactored event API initialization away from Application and into TwitchIrcServer. (#6198) - Dev: Refactored event API initialization away from Application and into TwitchIrcServer. (#6198)
- Dev: Updated GoogleTest to v1.17.0. (#6180) - Dev: Updated GoogleTest to v1.17.0. (#6180)
+5
View File
@@ -644,6 +644,11 @@ void EmotePopup::filterEmotes(const QString &searchText)
void EmotePopup::saveBounds() const void EmotePopup::saveBounds() const
{ {
if (isAppAboutToQuit())
{
return;
}
auto bounds = this->getBounds(); auto bounds = this->getBounds();
if (!bounds.isNull()) if (!bounds.isNull())
{ {