[utilities/konsole] src/colorscheme: ColorScheme.h: do not expose KI18n, use forward declaration

Friedrich W. H. Kossebau <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 915a45af5cadee56b819d402534cc4d1711b6530 by Friedrich W. H. Kossebau.
Committed on 07/08/2026 at 00:24.
Pushed by kossebau into branch 'master'.

ColorScheme.h: do not expose KI18n, use forward declaration

M  +1    -0    src/colorscheme/ColorScheme.cpp
M  +1    -2    src/colorscheme/ColorScheme.h

https://invent.kde.org/utilities/konsole/-/commit/915a45af5cadee56b819d402534cc4d1711b6530

diff --git a/src/colorscheme/ColorScheme.cpp b/src/colorscheme/ColorScheme.cpp
index b7f7c40dc..54c405b32 100644
--- a/src/colorscheme/ColorScheme.cpp
+++ b/src/colorscheme/ColorScheme.cpp
@@ -18,6 +18,7 @@
 // KDE
 #include <KConfig>
 #include <KConfigGroup>
+#include <KLazyLocalizedString>
 #include <KLocalizedString>
 
 // STL
diff --git a/src/colorscheme/ColorScheme.h b/src/colorscheme/ColorScheme.h
index 9780f1223..c6584403f 100644
--- a/src/colorscheme/ColorScheme.h
+++ b/src/colorscheme/ColorScheme.h
@@ -19,9 +19,8 @@
 // Konsole
 #include "ColorSchemeWallpaper.h"
 
-#include <KLazyLocalizedString>
-
 class KConfig;
+class KLazyLocalizedString;
 class QPixmap;
 class QPainter;
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.