diff options
Diffstat (limited to 'kbarcode/barcodedialogs.cpp')
-rw-r--r-- | kbarcode/barcodedialogs.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/kbarcode/barcodedialogs.cpp b/kbarcode/barcodedialogs.cpp index 9ac754b..22411c5 100644 --- a/kbarcode/barcodedialogs.cpp +++ b/kbarcode/barcodedialogs.cpp @@ -224,11 +224,7 @@ void TBarcodeDlg::setData( Barkode* b ) TQMap<TQString,int>::Iterator it; for ( it = map.begin(); it != map.end(); ++it ) { if( it.data() == options->checksum() ) { - for( int i = 0; i < comboCheckSum->count(); i++ ) - if( comboCheckSum->text( i ) == it.key() ) { - comboCheckSum->setCurrentItem( i ); - break; - } + comboCheckSum->setCurrentItem(it.key()); break; } } |