summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/tools/designer/examples/book/book8/editbook.ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'tqtinterface/qt4/tools/designer/examples/book/book8/editbook.ui.h')
-rw-r--r--tqtinterface/qt4/tools/designer/examples/book/book8/editbook.ui.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tqtinterface/qt4/tools/designer/examples/book/book8/editbook.ui.h b/tqtinterface/qt4/tools/designer/examples/book/book8/editbook.ui.h
index 12e6eb6..45876fe 100644
--- a/tqtinterface/qt4/tools/designer/examples/book/book8/editbook.ui.h
+++ b/tqtinterface/qt4/tools/designer/examples/book/book8/editbook.ui.h
@@ -38,7 +38,7 @@ void EditBookForm::primeUpdateBook( TQSqlRecord * buffer )
int id = buffer->value( "authorid" ).toInt();
for ( int i = 0; i < ComboBoxAuthor->count(); i++ ) {
TQString author = ComboBoxAuthor->text( i );
- if ( authorMap.tqcontains( author ) && authorMap[author] == id ) {
+ if ( authorMap.contains( author ) && authorMap[author] == id ) {
ComboBoxAuthor->setCurrentItem( i ) ;
break;
}