From 2db1f7d324eb3a6c268ec9ecdbeff6a0f5c2d2f6 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 8 Jul 2012 23:41:56 -0500 Subject: Remove unneeded readFullLineFromPtyProcess function --- src/ldapmgr.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/ldapmgr.cpp b/src/ldapmgr.cpp index 36224e6..d152ebe 100644 --- a/src/ldapmgr.cpp +++ b/src/ldapmgr.cpp @@ -847,15 +847,6 @@ void LDAPConfig::removeSelectedService() { updateAllInformation(); } -TQString readFullLineFromPtyProcess(PtyProcess* proc) { - TQString result = ""; - while ((!result.contains("\n")) && (!result.contains(":")) && (!result.contains(">"))) { - result = result + TQString(proc->readLine(false)); - tqApp->processEvents(); - } - return result; -} - int LDAPConfig::setPasswordForUser(LDAPUserInfo user, TQString *errstr) { if (user.new_password == "") { return 0; -- cgit v1.2.1