diff --git a/src/mumble/TextToSpeech_macx.cpp b/src/mumble/TextToSpeech_macx.cpp index eb9abec8a..6ccfd0fe6 100644 --- a/src/mumble/TextToSpeech_macx.cpp +++ b/src/mumble/TextToSpeech_macx.cpp @@ -118,11 +118,8 @@ TextToSpeech::TextToSpeech(QObject *) { * http://lists.apple.com/archives/speech-dev/2005/Aug/msg00000.html */ - if (Gestalt(gestaltSystemVersion, &MacVersion) != noErr) { - return; - } - - if ((MacVersion & 0xfff0) == 0x1040) { + int version = qMacVersion(); + if (version != QSysInfo::MV_Unknown && version < QSysInfo::MV_LEOPARD) { qWarning("Mac OS X 10.4 (Tiger) detected. Disabling Text-to-Speech because of a buggy implementation in 10.4."); return; }