diff options
author | hjk <qtc-committer@nokia.com> | 2011-08-15 15:26:28 +0200 |
---|---|---|
committer | hjk <qtc-committer@nokia.com> | 2011-08-15 16:11:16 +0200 |
commit | b90a0139a4f63c730bb4668e04ab3f8c81ead04f (patch) | |
tree | 2a65abd5b0f61e3d1aaa78e9e96d5af111fdec57 /examples/widgets | |
parent | a1c224f151f1fd0003198e4783bef50fa9338a49 (diff) | |
download | qt4-tools-b90a0139a4f63c730bb4668e04ab3f8c81ead04f.tar.gz |
examples: fix compilation with namespaced Qt.
Diffstat (limited to 'examples/widgets')
-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 400a6a5a7f..745497cc05 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 { |