diff --git a/lib/kpty.cpp b/lib/kpty.cpp index 542bde33..b42bf952 100644 --- a/lib/kpty.cpp +++ b/lib/kpty.cpp @@ -174,14 +174,12 @@ KPtyPrivate::~KPtyPrivate() { } -#ifndef HAVE_OPENPTY bool KPtyPrivate::chownpty(bool) { // return !QProcess::execute(KStandardDirs::findExe("kgrantpty"), // QStringList() << (grant?"--grant":"--revoke") << QString::number(masterFd)); return true; } -#endif ///////////////////////////// // public member functions // diff --git a/lib/kpty_p.h b/lib/kpty_p.h index 4f865b84..28ed2a5d 100644 --- a/lib/kpty_p.h +++ b/lib/kpty_p.h @@ -35,9 +35,7 @@ class KPtyPrivate { KPtyPrivate(KPty* parent); virtual ~KPtyPrivate(); -#ifndef HAVE_OPENPTY bool chownpty(bool grant); -#endif int masterFd; int slaveFd;