On Sun, Jan 11, 2009 at 03:00:12AM +0100, Uwe Stöhr wrote:
> Index: frontends/qt4/LengthCombo.cpp
> ===================================================================
> --- frontends/qt4/LengthCombo.cpp     (revision 28082)
> +++ frontends/qt4/LengthCombo.cpp     (working copy)
> @@ -70,4 +70,16 @@
>       }
>  }
>  
> +void LengthCombo::noMu()
> +{
> +     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?

Also the 'QComboBox::' qualification should not be necessary.

Rest looks ok to me.

Andre'

Reply via email to