[graphics/gwenview] lib/document: 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 272ac4ff3794f9ac6f493c915694c486df18c0c8 by Friedrich W. H. Kossebau.
Committed on 20/07/2026 at 15:13.
Pushed by kossebau into branch 'master'.

Include only needed headers instead of QtConcurrent module header

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

M  +2    -1    lib/document/loadingdocumentimpl.cpp

https://invent.kde.org/graphics/gwenview/-/commit/272ac4ff3794f9ac6f493c915694c486df18c0c8

diff --git a/lib/document/loadingdocumentimpl.cpp b/lib/document/loadingdocumentimpl.cpp
index 0f4d8c9b7..d42f499df 100644
--- a/lib/document/loadingdocumentimpl.cpp
+++ b/lib/document/loadingdocumentimpl.cpp
@@ -36,9 +36,10 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 #include <QFutureWatcher>
 #include <QImage>
 #include <QImageReader>
+#include <QMimeDatabase>
 #include <QPointer>
 #include <QUrl>
-#include <QtConcurrent>
+#include <QtConcurrentRun>
 
 // KF
 #include <KIO/TransferJob>
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.