From 0a349e9d12dabbe7e9b026e5190f74b7979093ad Mon Sep 17 00:00:00 2001 From: rnv Date: Mon, 7 Sep 2020 15:31:00 +0300 Subject: [PATCH] Fix crash on File->New --- src/SVTK/SVTK_ViewWindow.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SVTK/SVTK_ViewWindow.cxx b/src/SVTK/SVTK_ViewWindow.cxx index 14b9587f9..72b366c88 100644 --- a/src/SVTK/SVTK_ViewWindow.cxx +++ b/src/SVTK/SVTK_ViewWindow.cxx @@ -2841,6 +2841,6 @@ void SVTK_ViewWindow::synchronize( SUIT_ViewWindow* theView ) void SVTK_ViewWindow::resizeEvent( QResizeEvent* theEvent ) { #ifdef VGL_WORKAROUND - QTimer::singleShot(0, [this] () { this->Repaint(); } ); + Repaint(); #endif } -- 2.39.2