Salome HOME
Merge from V6_main 15/03/2013
[modules/gui.git] / src / Plot2d / Plot2d_SetupCurveDlg.cxx
index 0ba8c79f2429e77688c6d3ede890c645f43ac69d..ab4f84afc6caee3f54aacbc0ef59042e3f2ed8b8 100644 (file)
@@ -26,7 +26,9 @@
 #include "Plot2d_SetupCurveDlg.h"
 
 #include <QtxColorButton.h>
+#ifndef NO_SUIT
 #include <SUIT_Tools.h>
+#endif
 
 #include <QGridLayout>
 #include <QHBoxLayout>
@@ -162,7 +164,9 @@ Plot2d_SetupCurveDlg::Plot2d_SetupCurveDlg( QWidget* parent )
   connect( myOkBtn,       SIGNAL( clicked() ),           this, SLOT( accept() ) );
   connect( myCancelBtn,   SIGNAL( clicked() ),           this, SLOT( reject() ) );
 
+#ifndef NO_SUIT
   SUIT_Tools::centerWidget( this, parent );
+#endif
   updatePreview();
 }