Abdelrazak Younes <[EMAIL PROTECTED]> writes:

| Georg Baum wrote:
| > Abdelrazak Younes wrote:
| >
| >> AFAIS, wa_ptr is equivalent to "this" and is not used anywhere else.
| > It is used in lyxX11EventFilter
| 
| Could be replaced by "this".

Not just like that....
 
| > and checkAppleEventForMissingParams (only in
| > OS X).
| 
| and handleOpenDocuments, I _know_. I plan to move these function to
| "lyx_gui.C" or "WorkAreaFactory.C".
| 
| > Figuring out the reason why it is needed there is left as an
| > exercise for the reader.
| 
| Well, my point is that it is not used anywhere else but in
| "QWorkarea.C". In there, maintaining a global variable pointer is
| useless as there is anyway only one QWorkArea instance in LyX and it
| is created in WorkAreaFactory.C.  Ultimately, I plan to remove this
| global variable.

the plan it to have more than one workarea...


-- 
        Lgb

Reply via email to