]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Qt4 porting. Redundant empty button is shown in the warning dialog box in case number...
authordmv <dmv@opencascade.com>
Tue, 25 Nov 2008 14:18:06 +0000 (14:18 +0000)
committerdmv <dmv@opencascade.com>
Tue, 25 Nov 2008 14:18:06 +0000 (14:18 +0000)
src/VISUGUI/VisuGUI_GaussPointsDlg.cxx

index 14826a2fb927c6a091ad428dc713985a897298f0..abb8b523f019df29caff052c331b022f364592b6 100644 (file)
@@ -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;
     }