summaryrefslogtreecommitdiffstats
path: root/vcs/perforce/commitdlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'vcs/perforce/commitdlg.cpp')
-rw-r--r--vcs/perforce/commitdlg.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcs/perforce/commitdlg.cpp b/vcs/perforce/commitdlg.cpp
index 2f119ed2..6bb3c08d 100644
--- a/vcs/perforce/commitdlg.cpp
+++ b/vcs/perforce/commitdlg.cpp
@@ -112,7 +112,7 @@ void CommitDialog::getFilesFinished( const TQString& out, const TQString& /* err
{
TQStringList lst = TQStringList::split( TQChar('\n'), out );
for ( TQStringList::ConstIterator it = lst.begin(); it != lst.end(); ++it ) {
- int pos = (*it).tqfind( TQChar('#') );
+ int pos = (*it).find( TQChar('#') );
if ( pos > 1 && (*it).startsWith( "//" ) ) {
filesBox->insertItem( (*it).left( pos ) );
}
@@ -129,7 +129,7 @@ TQString CommitDialog::changeList() const
"tqStatus: new\n"
"Description:\n ";
- lst += logMessage().tqreplace(TQRegExp("\n"), "\n ") + "\n\n";
+ lst += logMessage().replace(TQRegExp("\n"), "\n ") + "\n\n";
lst += "Files:\n";