From bb3453aeadf1aa3a53f2bf3c8d55b3ae3f4543b0 Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Thu, 11 Aug 2016 21:55:35 +0200 Subject: texteditor: cosmetic cleanup Change-Id: Id1d5f0f8c1e7851ea33241fa09af5c0029b74db3 Reviewed-by: Mitch Curtis --- examples/quickcontrols2/texteditor/documenthandler.cpp | 3 +-- examples/quickcontrols2/texteditor/documenthandler.h | 2 +- examples/quickcontrols2/texteditor/texteditor.pro | 6 +++--- 3 files changed, 5 insertions(+), 6 deletions(-) (limited to 'examples') diff --git a/examples/quickcontrols2/texteditor/documenthandler.cpp b/examples/quickcontrols2/texteditor/documenthandler.cpp index 9b8113c8..7a7934b4 100644 --- a/examples/quickcontrols2/texteditor/documenthandler.cpp +++ b/examples/quickcontrols2/texteditor/documenthandler.cpp @@ -50,13 +50,12 @@ #include "documenthandler.h" +#include #include -#include #include #include #include #include -#include #include DocumentHandler::DocumentHandler(QObject *parent) diff --git a/examples/quickcontrols2/texteditor/documenthandler.h b/examples/quickcontrols2/texteditor/documenthandler.h index dafc78b7..dc6c9b22 100644 --- a/examples/quickcontrols2/texteditor/documenthandler.h +++ b/examples/quickcontrols2/texteditor/documenthandler.h @@ -173,4 +173,4 @@ private: QUrl m_fileUrl; }; -#endif +#endif // DOCUMENTHANDLER_H diff --git a/examples/quickcontrols2/texteditor/texteditor.pro b/examples/quickcontrols2/texteditor/texteditor.pro index 9a955a89..ed645ca7 100644 --- a/examples/quickcontrols2/texteditor/texteditor.pro +++ b/examples/quickcontrols2/texteditor/texteditor.pro @@ -2,6 +2,9 @@ TEMPLATE = app TARGET = texteditor QT += quick quickcontrols2 widgets +HEADERS += \ + documenthandler.h + SOURCES += \ texteditor.cpp \ documenthandler.cpp @@ -14,6 +17,3 @@ RESOURCES += \ target.path = $$[QT_INSTALL_EXAMPLES]/quickcontrols2/texteditor INSTALLS += target - -HEADERS += \ - documenthandler.h -- cgit v1.2.3