diff options
Diffstat (limited to 'kbugbuster/gui/centralwidget.cpp')
-rw-r--r-- | kbugbuster/gui/centralwidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kbugbuster/gui/centralwidget.cpp b/kbugbuster/gui/centralwidget.cpp index 1813d627..2c715bc1 100644 --- a/kbugbuster/gui/centralwidget.cpp +++ b/kbugbuster/gui/centralwidget.cpp @@ -340,11 +340,11 @@ void CentralWidget::slotExtractAttachments() for ( TQValueList<BugDetails::Attachment>::Iterator it = attachments.begin() ; it != attachments.end() ; ++it ) { // Handle duplicates - if ( fileList.tqcontains( (*it).filename ) ) + if ( fileList.contains( (*it).filename ) ) { int n = 2; // looks stupid to have "blah" and "1-blah", start at 2 TQString fn = TQString::number(n) + '-' + (*it).filename; - while ( fileList.tqcontains( fn ) ) + while ( fileList.contains( fn ) ) { ++n; fn = TQString::number(n) + '-' + (*it).filename; |