summaryrefslogtreecommitdiffstats
path: root/languages/cpp/debugger/dbgpsdlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/debugger/dbgpsdlg.cpp')
-rw-r--r--languages/cpp/debugger/dbgpsdlg.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/languages/cpp/debugger/dbgpsdlg.cpp b/languages/cpp/debugger/dbgpsdlg.cpp
index e08a1cec..fe04ffd4 100644
--- a/languages/cpp/debugger/dbgpsdlg.cpp
+++ b/languages/cpp/debugger/dbgpsdlg.cpp
@@ -155,14 +155,14 @@ void Dbg_PS_Dialog::slotProcessExited()
pidLines_ += '\n';
- int start = pidLines_.tqfind('\n', 0); // Skip the first line (header line)
+ int start = pidLines_.find('\n', 0); // Skip the first line (header line)
int pos;
static TQRegExp ps_output_line("^\\s*(\\S+)\\s+(\\S+)\\s+(\\S+)\\s+(\\S+)\\s+(.+)");
- while ( (pos = pidLines_.tqfind('\n', start)) != -1) {
+ while ( (pos = pidLines_.find('\n', start)) != -1) {
TQString item = pidLines_.mid(start, pos-start);
- if (!item.isEmpty() && item.tqfind(pidCmd_) == -1)
+ if (!item.isEmpty() && item.find(pidCmd_) == -1)
{
if(ps_output_line.search(item) == -1)
{