Lars Gullik Bjønnes a écrit :
Andre Poenitz <[EMAIL PROTECTED]> writes:
| On Thu, Apr 13, 2006 at 08:03:23PM +0200, Lars Gullik Bjønnes wrote:
| > Will go in shortly, but comments are appreciated.
|
| case SelectionClear:
| lyxerr[Debug::GUI] << "Lost selection." << endl;
| if (wa_ptr)
| - wa_ptr->selectionLost();
| + wa_ptr->view().view()->selectionLost();
| break;
| }
|
| I wonder whether this wa_ptr->view().view() could be shortened/
| encapsulated a bit.
wa_ptr should be removed. As it is now multiple workareas will be
impossible with qt. (qt4 as well) But I'll leave all the to the gui
gang.
Yep, I never understood the reason for this wa_ptr... If someone coud
explain me a bit about that I will certainly remove it. Then, in this
patch, what's the difference between view_.view() and
wa_ptr->view().view()? Just a provision for when multiple work area are
going to be possible?
Abdel.
PS: nice work, Lars :-)