]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Compilation warning removed on WNT
authorsln <sln@opencascade.com>
Fri, 19 Sep 2008 07:46:44 +0000 (07:46 +0000)
committersln <sln@opencascade.com>
Fri, 19 Sep 2008 07:46:44 +0000 (07:46 +0000)
src/GLViewer/GLViewer_Geom.h
src/GLViewer/GLViewer_ViewPort2d.h

index bceac3094445ecbfc374198be077660a318fd188..d0c4cd4caf9f4895a45b1995734260450288bf1b 100644 (file)
@@ -29,7 +29,6 @@
 
 #include <QRect>
 #include <QRectF>
-#include <QtOpenGL>
 #include <math.h>
 
 //using namespace QGL;
@@ -38,6 +37,8 @@
 #pragma warning( disable:4251 )
 #endif
 
+#include <QtOpenGL>
+
 /*! Struct GLViewer_Pnt
 * Substitution of QPoint for OpenGL
 */
index 77fd11eb1f7b4858dcfe45c4ab877c07ff4a5d90..6aee4dddafe30930f8e2c336cf9d1ae7e37cfcc8 100644 (file)
@@ -36,7 +36,6 @@
 #include "GLViewer_Widget.h"
 #include "GLViewer_Geom.h"
 
-#include <QtOpenGL>
 #include <QColor>
 #include <QPaintDevice>
 
@@ -44,6 +43,8 @@
 #pragma warning( disable:4251 )
 #endif
 
+#include <QtOpenGL>
+
 class GLViewer_Compass;
 class GLViewer_Grid;
 class GLViewer_Object;