summaryrefslogtreecommitdiffstats
path: root/examples/opengl/hellogl2/window.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/opengl/hellogl2/window.h')
-rw-r--r--examples/opengl/hellogl2/window.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/opengl/hellogl2/window.h b/examples/opengl/hellogl2/window.h
index 3fd64086ec7..edbd643ae29 100644
--- a/examples/opengl/hellogl2/window.h
+++ b/examples/opengl/hellogl2/window.h
@@ -10,14 +10,13 @@ QT_FORWARD_DECLARE_CLASS(QSlider)
QT_FORWARD_DECLARE_CLASS(QPushButton)
class GLWidget;
-class MainWindow;
class Window : public QWidget
{
Q_OBJECT
public:
- Window(MainWindow *mw);
+ Window();
protected:
void keyPressEvent(QKeyEvent *event) override;
@@ -35,7 +34,6 @@ private:
QSlider *ySlider;
QSlider *zSlider;
QPushButton *dockBtn;
- MainWindow *mainWindow;
};
#endif