Hi all,
I have a class who inherit from QWidget to render a 3D content inside.
I use a QTimer to refresh the window like that :
m_Timer.setInterval( 0 );
connect( &m_Timer, SIGNAL( timeout() ), this, SLOT( repaint() ) );
m_Timer.start();
m_Timer.setInterval( 0 );
connect( &m_Timer, SIGNAL( timeout() ), this, SLOT( repaint() ) );
m_Timer.start();
To copy to clipboard, switch view to plain text mode
When I launch the application and I move the window, the application freeze.
When I undock a dock window and I try to move it, the application freeze.
The only one solution I have is to set the interval to 10ms.
Thanks for the help
Bookmarks