summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 218740e..2556c0e 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -75,7 +75,7 @@ void initialiseCmdLineArgs(std::vector<KCmdLineOptions>& vOptions, TQStringList&
TQString line = ts.readLine();
if ( line.startsWith("IgnorableCmdLineOptions=") )
{
- int pos = line.tqfind('=');
+ int pos = line.find('=');
if (pos>=0)
{
TQString s = line.mid(pos+1);
@@ -201,7 +201,7 @@ int main(int argc, char *argv[])
TQString locale;
locale = app.config()->readEntry("Language", "Auto");
- int spacePos = locale.tqfind(' ');
+ int spacePos = locale.find(' ');
if (spacePos>0) locale = locale.left(spacePos);
TQTranslator kdiff3Translator( 0 );
TQTranslator qtTranslator( 0 );