diff --git a/src/main.cpp b/src/main.cpp index ec980e6c..b6ba2dc0 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -23,7 +23,7 @@ #include "config-konsole.h" // OS specific -#include +#include // KDE #include @@ -151,7 +151,7 @@ bool shouldUseNewProcess() // Konsole and any debug output or warnings from Konsole are written to // the current terminal bool hasControllingTTY = false; - const int fd = KDE_open("/dev/tty", O_RDONLY); + const int fd = QT_OPEN("/dev/tty", O_RDONLY); if (fd != -1) { hasControllingTTY = true; close(fd);