summaryrefslogtreecommitdiffstats
path: root/examples/widgets/orientation
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/orientation')
-rw-r--r--examples/widgets/orientation/mainwindow.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/widgets/orientation/mainwindow.h b/examples/widgets/orientation/mainwindow.h
index 400a6a5..745497c 100644
--- a/examples/widgets/orientation/mainwindow.h
+++ b/examples/widgets/orientation/mainwindow.h
@@ -41,13 +41,11 @@
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
-#include <QWidget>
+#include <QAbstractButton>
#include "ui_landscape.h"
#include "ui_portrait.h"
-class QAbstractButton;
-
//! [0]
class MainWindow : public QWidget
{