diff options
author | Nico Vertriest <nico.vertriest@qt.io> | 2020-08-05 11:49:23 +0200 |
---|---|---|
committer | Paul Wicking <paul.wicking@qt.io> | 2020-09-01 06:13:07 +0200 |
commit | e81383eb0994a37b9489a2aebd0459e161dbeed2 (patch) | |
tree | 0245296bfdcbc7763cd7f49ea86d0d553ee5dde2 /src/gui/doc/snippets/textdocument-selections/main.cpp | |
parent | b5a1e7ac5cfcca1f54333843310ce81b9e9d9c7d (diff) |
Doc: Make Qt Gui snippets compilable - textdocument-selections
Task-number: QTBUG-81486
Change-Id: I467ca4d5ecd33f84e44b456a9559748ffd6cc53c
Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'src/gui/doc/snippets/textdocument-selections/main.cpp')
-rw-r--r-- | src/gui/doc/snippets/textdocument-selections/main.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gui/doc/snippets/textdocument-selections/main.cpp b/src/gui/doc/snippets/textdocument-selections/main.cpp index 60afcac7b5..cb8158adf9 100644 --- a/src/gui/doc/snippets/textdocument-selections/main.cpp +++ b/src/gui/doc/snippets/textdocument-selections/main.cpp @@ -47,11 +47,10 @@ ** $QT_END_LICENSE$ ** ****************************************************************************/ - -#include <QtGui> - #include "mainwindow.h" +#include <QApplication> + int main(int argc, char *argv[]) { QApplication app(argc, argv); |