On Sun, Jan 11, 2009 at 03:18:37AM +0100, Uwe Stöhr wrote: > Andre Poenitz schrieb: > >>> + int num = QComboBox::count(); + for (int i = 0; i < num; i++) { >>> + if (QComboBox::itemText(i).contains("mu") > 0) { >> >> Shouldn't >> >> if (QComboBox::itemText(i).contains("mu")) >> >> be sufficient? > > You are right. I copied the code from the existing noPercents() > method. Corrected patch is attached. > >> Also the 'QComboBox::' qualification should not be necessary. > > LengthCombo.cpp uses this all over the place. I leave the decision to > you to clean up this file or not.
Fair enough. Just submit then. Andre'