diff options
| author | 2023-05-27 12:46:34 +0100 | |
|---|---|---|
| committer | 2023-05-27 12:46:34 +0100 | |
| commit | b4405b0c3dbd00c31d20597360249966bfd627c9 (patch) | |
| tree | 0b2d4d9906871bb6cc2468e9ca5d324a57b24804 /src/modules/system/libkvisystem.cpp | |
| parent | QString::null is deprecated (#2526) (diff) | |
| download | KVIrc-b4405b0c3dbd00c31d20597360249966bfd627c9.tar.gz KVIrc-b4405b0c3dbd00c31d20597360249966bfd627c9.tar.bz2 KVIrc-b4405b0c3dbd00c31d20597360249966bfd627c9.zip | |
Fix includes, QProcess is used not only without KDE
https://bugs.gentoo.org/906940
Diffstat (limited to 'src/modules/system/libkvisystem.cpp')
| -rw-r--r-- | src/modules/system/libkvisystem.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/modules/system/libkvisystem.cpp b/src/modules/system/libkvisystem.cpp index 2abab2c10..842d3fa3f 100644 --- a/src/modules/system/libkvisystem.cpp +++ b/src/modules/system/libkvisystem.cpp @@ -50,12 +50,13 @@ #endif #ifdef COMPILE_KDE_SUPPORT -#include <KToolInvocation> // invokeTerminal() for system.runcmd -#else // tools we need to work around the absence of +// invokeTerminal() for system.runcmd +// tools we need to work around the absence of +#include <KToolInvocation> +#endif // invokeTerminal() #include <QProcess> #include <QStringList> -#endif PluginManager * g_pPluginManager; |
