mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 15:24:05 +00:00
fix: qmultimedia qmediaplayer can not play the next audio in qt6.4.2
This commit is contained in:
parent
2baffb0628
commit
bd736d7f37
|
@ -44,6 +44,7 @@ QString MultimediaAudioPlayer::play( const char * data, int size )
|
|||
|
||||
void MultimediaAudioPlayer::stop()
|
||||
{
|
||||
player.stop();
|
||||
#if (QT_VERSION < QT_VERSION_CHECK(6,0,0))
|
||||
player.setMedia( QMediaContent() ); // Forget about audioBuffer.
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue