[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vtk-developers
Subject:    Re: [vtk-developers] QVTKInteractor, "Do not delete object" warning
From:       Clinton Stimpson <clinton () elemtech ! com>
Date:       2009-03-19 4:37:00
Message-ID: 49C1CBEC.8000003 () elemtech ! com
[Download RAW message or body]


Should be fixed now.

Thanks,
Clint

/cvsroot/VTK/VTK/GUISupport/Qt/QVTKWidget.cxx,v  <--  QVTKWidget.cxx
new revision: 1.42; previous revision: 1.41


pat marion wrote:
> Hi,
>
> I develop on Ubuntu 8.10 64bit with Qt 4.4.
>
> Qt prints the following warning when QVTKInteractor deletes the QTimer
> in the method QVTKInteractor::InternalDestroyTimer:
>
> Warning: QObject: Do not delete object, 'unnamed', during its event handler!
>
> Has anyone else noticed this?  One possible fix is to use the method
> QObject::deleteLater() instead of deleting the timer.  This will
> delete the timer when control returns to Qt's event loop.
>
> Pat
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
>   


_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtk-developers

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic