Hello,
In the qt4 frontend, I would like to get rid of this wa_ptr that seems
do to do nothing at all in the Qt4 port. At least it doesn't do anything
in windows and X11. On Mac there is this special code in QWorkArea
constructor:
#ifdef Q_WS_MACX
wa_ptr = this;
#endif
Other than that this pointer is affected there also:
void QWorkArea::haveSelection(bool own) const
{
/// \todo ask X11 and MAC devels why this wa_ptr is useful.
wa_ptr = const_cast<QWorkArea*>(this);
...
AFAIS, wa_ptr is equivalent to "this" and is not used anywhere else.
So, can I remove it?
Abdel.