From c5adcac2579013e1725512c210be80928241aedf Mon Sep 17 00:00:00 2001 From: Kurt Hindenburg Date: Sun, 8 Feb 2015 10:43:00 -1000 Subject: [PATCH] Port kde_file.h KDE_open to QT_OPEN --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);