fixes: follow system default audio output device...

...and also:

- fix crash when triggered the open file dialog to select music files
  but clicked cancel.
- support gif and jp*e*g suffix for drag and drop for skin selection
This commit is contained in:
2024-09-12 21:36:54 +08:00
parent 25eed8066b
commit b01dfe17fd
2 changed files with 13 additions and 3 deletions

View File

@ -11,6 +11,7 @@
QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
class QMediaDevices;
class QMediaPlayer;
class QAudioOutput;
class QPropertyAnimation;
@ -85,6 +86,7 @@ private:
Ui::MainWindow *ui;
QMediaDevices *m_mediaDevices;
QMediaPlayer *m_mediaPlayer;
QAudioOutput *m_audioOutput;
QPropertyAnimation *m_fadeOutAnimation;