mirror of
https://github.com/YACReader/yacreader
synced 2025-07-23 07:24:58 -04:00
fixed tts playback in Qt5 (translator)
This commit is contained in:
@ -15,6 +15,7 @@ class YACReaderBusyWidget;
|
||||
#include <QUrl>
|
||||
|
||||
#if QT_VERSION >= 0x050000
|
||||
class QMediaPlayer;
|
||||
#else
|
||||
#include<Phonon/MediaObject>
|
||||
using namespace Phonon;
|
||||
@ -51,7 +52,7 @@ protected:
|
||||
private:
|
||||
|
||||
#if QT_VERSION >= 0x050000
|
||||
|
||||
QMediaPlayer *player;
|
||||
#else
|
||||
MediaObject * music;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user