[libraries/ktextaddons] texttranslator/translator/plugins/bergamot: Fix mem leak

Laurent Montel <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit ca7c87d6d4252edbd9848bee180149436681bb10 by Laurent Montel.
Committed on 16/08/2026 at 08:53.
Pushed by mlaurent into branch 'master'.

Fix mem leak

M  +1    -1    texttranslator/translator/plugins/bergamot/downloadlanguagejob.cpp

https://invent.kde.org/libraries/ktextaddons/-/commit/ca7c87d6d4252edbd9848bee180149436681bb10

diff --git a/texttranslator/translator/plugins/bergamot/downloadlanguagejob.cpp b/texttranslator/translator/plugins/bergamot/downloadlanguagejob.cpp
index 70e933fcb..ca155e11f 100644
--- a/texttranslator/translator/plugins/bergamot/downloadlanguagejob.cpp
+++ b/texttranslator/translator/plugins/bergamot/downloadlanguagejob.cpp
@@ -95,7 +95,7 @@ void DownloadLanguageJob::extractLanguage()
     auto extraJob = new ExtractLanguageJob(this);
     extraJob->setSource(mDestination->fileName());
     connect(extraJob, &ExtractLanguageJob::errorText, this, &DownloadLanguageJob::errorText);
-    connect(extraJob, &ExtractLanguageJob::finished, this, &DownloadLanguageJob::extractDone);
+    connect(extraJob, &ExtractLanguageJob::finished, this, &DownloadLanguageJob::slotExtractDone);
 
     extraJob->start();
 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.