From f694c3210e1202c11e531feae9237cb66df98bdd Mon Sep 17 00:00:00 2001 From: shenleban tongying Date: Thu, 7 Nov 2024 02:56:06 -0500 Subject: [PATCH] clean: QLocale country -> territory renaming --- src/speechclient.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/speechclient.cc b/src/speechclient.cc index 58a0318c..f66bea2c 100644 --- a/src/speechclient.cc +++ b/src/speechclient.cc @@ -39,7 +39,7 @@ SpeechClient::Engines SpeechClient::availableEngines() for ( const QVoice & voice : sp->availableVoices() ) { const QString name( QString( "%4 - %3 %1 (%2)" ) .arg( QLocale::languageToString( locale.language() ), - ( QLocale::countryToString( locale.country() ) ), + ( QLocale::territoryToString( locale.territory() ) ), voice.name(), engine_name ) ); Engine engine( Config::VoiceEngine( engine_name, name, voice.name(), QLocale( locale ), 50, 0 ) );