diff libgui/qterminal/libqterminal/unix/kpty.cpp @ 20310:92c0fead20da

* kpty_p.h, kpty.cpp (KPtyPrivate::chownpty): Define unconditionally.
author John W. Eaton <jwe@octave.org>
date Wed, 24 Jun 2015 11:47:14 -0400
parents 409d82472aee
children
line wrap: on
line diff
--- a/libgui/qterminal/libqterminal/unix/kpty.cpp	Tue Jun 23 20:00:59 2015 -0700
+++ b/libgui/qterminal/libqterminal/unix/kpty.cpp	Wed Jun 24 11:47:14 2015 -0400
@@ -176,14 +176,12 @@
 {
 }
 
-#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 //