diff options
author | Kai Koehne <kai.koehne@qt.io> | 2017-05-02 15:46:56 +0200 |
---|---|---|
committer | Kai Koehne <kai.koehne@qt.io> | 2017-05-03 11:02:03 +0000 |
commit | 2156011b0a6047cd2b49dd03f6f3145cfc0f64b0 (patch) | |
tree | b2bab10da236bc9c73091a5202fa763e869a953b | |
parent | f10db97d7a1d43a7c9119c697831cb964ed3ab92 (diff) |
markdown: Code beautification
Change-Id: I74d30578a9725f10a8d4e86ff8740d5f467d0fbc
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
-rw-r--r-- | examples/webenginewidgets/markdowneditor/document.h | 2 | ||||
-rw-r--r-- | examples/webenginewidgets/markdowneditor/mainwindow.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/webenginewidgets/markdowneditor/document.h b/examples/webenginewidgets/markdowneditor/document.h index 3c16c251d..bc6552731 100644 --- a/examples/webenginewidgets/markdowneditor/document.h +++ b/examples/webenginewidgets/markdowneditor/document.h @@ -57,7 +57,7 @@ class Document : public QObject { Q_OBJECT - Q_PROPERTY(QString text MEMBER m_text NOTIFY textChanged) + Q_PROPERTY(QString text MEMBER m_text NOTIFY textChanged FINAL) public: explicit Document(QObject *parent = nullptr) : QObject(parent) {} diff --git a/examples/webenginewidgets/markdowneditor/mainwindow.h b/examples/webenginewidgets/markdowneditor/mainwindow.h index ad0320373..817f626d8 100644 --- a/examples/webenginewidgets/markdowneditor/mainwindow.h +++ b/examples/webenginewidgets/markdowneditor/mainwindow.h @@ -67,7 +67,7 @@ class MainWindow : public QMainWindow Q_OBJECT public: - explicit MainWindow(QWidget *parent = 0); + explicit MainWindow(QWidget *parent = nullptr); ~MainWindow(); void openFile(const QString &path); |