diff options
author | hjk <qtc-committer@nokia.com> | 2011-08-15 13:26:28 (GMT) |
---|---|---|
committer | hjk <qtc-committer@nokia.com> | 2011-08-15 14:11:16 (GMT) |
commit | b90a0139a4f63c730bb4668e04ab3f8c81ead04f (patch) | |
tree | 2a65abd5b0f61e3d1aaa78e9e96d5af111fdec57 /examples/widgets/orientation | |
parent | a1c224f151f1fd0003198e4783bef50fa9338a49 (diff) | |
download | Qt-b90a0139a4f63c730bb4668e04ab3f8c81ead04f.zip Qt-b90a0139a4f63c730bb4668e04ab3f8c81ead04f.tar.gz Qt-b90a0139a4f63c730bb4668e04ab3f8c81ead04f.tar.bz2 |
examples: fix compilation with namespaced Qt.
Diffstat (limited to 'examples/widgets/orientation')
-rw-r--r-- | examples/widgets/orientation/mainwindow.h | 4 |
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 { |