On Thu, Apr 05, 2007 at 10:11:24AM +0200, Abdelrazak Younes wrote: > Enrico Forestieri wrote: > > On Thu, Apr 05, 2007 at 01:31:47AM +0200, Uwe Stöhr wrote: > > > >> The problem of bug 3420 is that the items for the empty delimiter is added > >> by this code > >> > >> leftCO->addItem(QIcon(QPixmap(toqstr(empty_xpm))), qt_("(None)")); > >> > >> instead of > >> leftCO->addItem(QIcon(QPixmap(toqstr(empty_xpm))), qt_("(None)"), > >> "empty"); > >> > >> But doing this doesn't help as this code is nwever called: > >> > >> if (str == "empty") > >> return "."; > >> > >> Has anybody an idea why the value is not recognized? > > > > Because str is literally "empty", so the attached should fix it. > > I've committed the fix cause I want to work a bit on that. Hope you > don't mind.
Not at all. -- Enrico