summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/src/kernel/tqprocess_unix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tqtinterface/qt4/src/kernel/tqprocess_unix.cpp')
-rw-r--r--tqtinterface/qt4/src/kernel/tqprocess_unix.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tqtinterface/qt4/src/kernel/tqprocess_unix.cpp b/tqtinterface/qt4/src/kernel/tqprocess_unix.cpp
index 0895ae2..5b60f6a 100644
--- a/tqtinterface/qt4/src/kernel/tqprocess_unix.cpp
+++ b/tqtinterface/qt4/src/kernel/tqprocess_unix.cpp
@@ -771,7 +771,7 @@ bool TQProcess::start( TQStringList *env )
TQFileInfo fi(arg_bundle);
if(fi.exists() && fi.isDir() && arg_bundle.right(4) == ".app") {
TQCString exe = arg_bundle;
- int lslash = exe.tqfindRev('/');
+ int lslash = exe.findRev('/');
if(lslash != -1)
exe = exe.mid(lslash+1);
exe = TQCString(arg_bundle + "/Contents/MacOS/" + exe);
@@ -858,7 +858,7 @@ bool TQProcess::start( TQStringList *env )
// look for the executable in the search path
if ( _arguments.count()>0 && getenv("PATH")!=0 ) {
TQString command = _arguments[0];
- if ( !command.tqcontains( '/' ) ) {
+ if ( !command.contains( '/' ) ) {
TQStringList pathList = TQStringList::split( ':', getenv( "PATH" ) );
for (TQStringList::Iterator it = pathList.begin(); it != pathList.end(); ++it ) {
TQString dir = *it;