From: dmv Date: Tue, 25 Nov 2008 14:18:06 +0000 (+0000) Subject: Qt4 porting. Redundant empty button is shown in the warning dialog box in case number... X-Git-Tag: V5_1_0rc2~16 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=27257cf77877b0f7d996840393fede613536321f;p=modules%2Fvisu.git Qt4 porting. Redundant empty button is shown in the warning dialog box in case number of faces of Gauss Point --- diff --git a/src/VISUGUI/VisuGUI_GaussPointsDlg.cxx b/src/VISUGUI/VisuGUI_GaussPointsDlg.cxx index 14826a2f..abb8b523 100644 --- a/src/VISUGUI/VisuGUI_GaussPointsDlg.cxx +++ b/src/VISUGUI/VisuGUI_GaussPointsDlg.cxx @@ -1024,7 +1024,7 @@ void VisuGUI_GaussPointsDlg::accept() QString aWarning = "The number of faces needed to perform the 'Geometrical Sphere' primitive\n"; aWarning.append( "presentation might be too important to ensure an acceptable frame rate.\n\n" ); aWarning.append( "Can you please confirm that you want to continue anyway?" ); - if( SUIT_MessageBox::warning( this, tr( "Warning" ), aWarning, tr( "&OK" ), tr( "&Cancel" ), 0, 1, 1 ) == 1 ) + if( SUIT_MessageBox::warning( this, tr( "Warning" ), aWarning, tr( "&OK" ), tr( "&Cancel" ) ) == 1 ) return; }