summaryrefslogtreecommitdiffstats
path: root/kdesu
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-15 19:11:41 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-15 19:11:41 +0000
commit374d939d8af431477ce2601815f0ba121b66871c (patch)
treead878478dcc0bedf51e3cffb2ed611ada422b290 /kdesu
parentf9279733bf71e446933b46f40cbe9c9b9f57b778 (diff)
downloadtdelibs-374d939d8af431477ce2601815f0ba121b66871c.tar.gz
tdelibs-374d939d8af431477ce2601815f0ba121b66871c.zip
Allow kdelibs to function correctly with TQt for Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1220926 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdesu')
-rw-r--r--kdesu/process.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kdesu/process.cpp b/kdesu/process.cpp
index cce910c47..00c320a12 100644
--- a/kdesu/process.cpp
+++ b/kdesu/process.cpp
@@ -524,7 +524,7 @@ int PtyProcess::waitForChild()
fputs(output, stdout);
fflush(stdout);
}
- lineStart = output.at( output.length() - 1 ) == '\n';
+ lineStart = output.tqat( output.length() - 1 ) == '\n';
output = readAll(false);
}
}