From 342686531a551719ff28967ef4364323c9b2eeed Mon Sep 17 00:00:00 2001 From: rnv Date: Fri, 14 Jun 2019 11:28:06 +0300 Subject: [PATCH] 17033 EDF - Problem with OCC View --- src/OCCViewer/OCCViewer_ViewPort3d.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/OCCViewer/OCCViewer_ViewPort3d.cxx b/src/OCCViewer/OCCViewer_ViewPort3d.cxx index 3c1c3a8dd..b1de81976 100644 --- a/src/OCCViewer/OCCViewer_ViewPort3d.cxx +++ b/src/OCCViewer/OCCViewer_ViewPort3d.cxx @@ -560,11 +560,9 @@ void OCCViewer_ViewPort3d::paintEvent( QPaintEvent* e ) */ void OCCViewer_ViewPort3d::resizeEvent( QResizeEvent* e ) { -#if defined WIN32 - /* Win32 : map before first show to avoid flicker */ + /* Map before first show to avoid flicker */ if ( !mapped( activeView() ) ) mapView( activeView() ); -#endif QTimer::singleShot( 0, this, SLOT( repaintViewAfterMove() ) ); emit vpResizeEvent( e ); } -- 2.39.2