From 27257cf77877b0f7d996840393fede613536321f Mon Sep 17 00:00:00 2001 From: dmv Date: Tue, 25 Nov 2008 14:18:06 +0000 Subject: [PATCH] Qt4 porting. Redundant empty button is shown in the warning dialog box in case number of faces of Gauss Point --- src/VISUGUI/VisuGUI_GaussPointsDlg.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.2