[education/parley] src/editor: Include only needed headers instead of QtConcurrent module header

Friedrich W. H. Kossebau <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 7223180a27ad725e9e9b5cb390223808e74cfeee by Friedrich W. H. Kossebau.
Committed on 15/07/2026 at 00:26.
Pushed by aacid into branch 'master'.

Include only needed headers instead of QtConcurrent module header

Qt module headers increase build cost by all their own includes.

M  +4    -1    src/editor/translateshelladapter.cpp

https://invent.kde.org/education/parley/-/commit/7223180a27ad725e9e9b5cb390223808e74cfeee

diff --git a/src/editor/translateshelladapter.cpp b/src/editor/translateshelladapter.cpp
index 57e9283a..d29c7071 100644
--- a/src/editor/translateshelladapter.cpp
+++ b/src/editor/translateshelladapter.cpp
@@ -5,8 +5,11 @@
 
 #include "translateshelladapter.h"
 #include <QDebug>
+#include <QDir>
+#include <QFile>
+#include <QFileInfo>
 #include <QProcess>
-#include <QtConcurrent>
+#include <QtConcurrentRun>
 
 bool TranslateShellAdapter::isTranslateShellAvailable() const
 {
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.