On Sat, Apr 14, 2007 at 08:35:33PM +0200, Uwe Stöhr wrote:
> Index: frontends/qt4/QDelimiterDialog.C
> ===================================================================
> --- frontends/qt4/QDelimiterDialog.C  (revision 17811)
> +++ frontends/qt4/QDelimiterDialog.C  (working copy)
> @@ -172,16 +172,30 @@
>  }
>  
>  
> +void QDelimiterDialog::on_leftLW_clicked()
> +{
> +     string str_left = fromqstr(leftLW->currentItem()->toolTip());
> +     str_left = fix_name(str_left, true);
> +
> +     texCodeL->setText("TeX code: " + qt_(str_left));
> +}

> +
> +
> +void QDelimiterDialog::on_rightLW_clicked()
> +{
> +     string str_right = fromqstr(rightLW->currentItem()->toolTip());
> +     str_right = fix_name(str_right, true);
> +
> +     texCodeL->setText("TeX code: " + qt_(str_right));
> +}

I'd prefer 'str' instead of both str_left and str_right as there is
enough context telling 'me left or right, but that's probably just a
mattter of tast.

Andre'

Reply via email to