summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/tts/qtexttospeech.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tts/qtexttospeech.h b/src/tts/qtexttospeech.h
index 395f094..9a7d588 100644
--- a/src/tts/qtexttospeech.h
+++ b/src/tts/qtexttospeech.h
@@ -105,7 +105,7 @@ public:
Functor &&func)
{
using Prototype = void(*)(QAudioFormat, QByteArray);
- synthesizeImpl(text, QtPrivate::makeSlotObject<Prototype>(std::forward<Functor>(func)), receiver);
+ synthesizeImpl(text, QtPrivate::makeCallableObject<Prototype>(std::forward<Functor>(func)), receiver);
}
// synthesize to a functor or function pointer (without context)