]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Fix problem with OCC viewer and qt 4.5 on Windows
authorvsr <vsr@opencascade.com>
Tue, 8 Sep 2009 12:57:49 +0000 (12:57 +0000)
committervsr <vsr@opencascade.com>
Tue, 8 Sep 2009 12:57:49 +0000 (12:57 +0000)
src/OCCViewer/OCCViewer_ViewPort.cxx
src/OCCViewer/OCCViewer_ViewPort.h

index a975fe049a0c651d32b558e906e76dc4833fa8a9..bd625113747d639daf9a55bf09c75e936d2d334d 100755 (executable)
@@ -450,6 +450,14 @@ void OCCViewer_ViewPort::onUpdate()
 {
 }
 
+/*!
+  Get paint engine for the OpenGL viewer. [ virtual public ]
+*/
+QPaintEngine* OCCViewer_ViewPort::paintEngine() const
+{
+  return 0;
+}
+
 /*!
     Creates the popup. [ virtual protected ]
 */
index 48e4dccb0033f1ae317093d7d4694a2e7fbbe95e..74c22f68c2f4587049af4909f2cf377bde1d7922 100755 (executable)
@@ -67,6 +67,8 @@ public:
 
   virtual void                   onUpdate();
 
+  virtual QPaintEngine*          paintEngine() const;
+
 protected:
 //     enum ViewType { Type2D, Type3D };
   void                          selectVisualId();