diff options
| author | Salanto <62221668+Salanto@users.noreply.github.com> | 2021-12-24 21:05:01 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-24 14:05:01 -0600 |
| commit | 5ce0e6416e9e821be69219cc8a949c00e2cb462c (patch) | |
| tree | 63e21560ce7fda46b7f61e82d109a7aebfcb8510 /include/courtroom.h | |
| parent | d1fb7fde16ec37dfa7b13e0a02489417655d315d (diff) | |
Fix animation freeze when loading music files (#609)
* Implement async music loading
* Simplify music filename parsing and fix "missing" on streams
Co-authored-by: oldmud0 <oldmud0@users.noreply.github.com>
Diffstat (limited to 'include/courtroom.h')
| -rw-r--r-- | include/courtroom.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/courtroom.h b/include/courtroom.h index 4bc86242..9df3b901 100644 --- a/include/courtroom.h +++ b/include/courtroom.h @@ -57,6 +57,8 @@ #include <QTextCharFormat> #include <QElapsedTimer> +#include <QFuture> + #include <algorithm> #include <stack> @@ -814,6 +816,8 @@ public slots: bool steno); void on_reload_theme_clicked(); + void update_ui_music_name(); + private slots: void start_chat_ticking(); void play_sfx(); |
