Re: [Cvslog] r28146 - in /lyx-devel/trunk/src/frontends/qt4: LengthCom...

2009-01-15 Thread Jürgen Spitzmüller
Andre Poenitz wrote: > Why::all::this::ex.plicit::quali.fi::cation? there were no namespaces defined in this file, and I thought there might be some hidden reason, so I stuck with it. Jürgen

Re: [Cvslog] r28146 - in /lyx-devel/trunk/src/frontends/qt4: LengthCom...

2009-01-14 Thread Andre Poenitz
On Wed, Jan 14, 2009 at 10:20:34AM -, sp...@lyx.org wrote: > LengthCombo::LengthCombo(QWidget * parent) > : QComboBox(parent) > { > - for (int i = 0; i < lyx::num_units; i++) > - addItem(lyx::qt_(lyx::unit_name_gui[i])); > + for (int i = 0; i < lyx::num_units; i++) {

Re: r28146 - in /lyx-devel/trunk/src/frontends/qt4: LengthCom...

2009-01-14 Thread Abdelrazak Younes
sp...@lyx.org wrote: Author: spitz Date: Wed Jan 14 11:20:33 2009 New Revision: 28146 URL: http://www.lyx.org/trac/changeset/28146 Log: * LengthCombo.{cpp, h}: - use model/view infrastructure to store reliable data The next step (if you feel like it) is to switch a QStandardItemModel