summaryrefslogtreecommitdiffstats
path: root/examples/webenginewidgets/markdowneditor/document.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/webenginewidgets/markdowneditor/document.cpp')
-rw-r--r--examples/webenginewidgets/markdowneditor/document.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/examples/webenginewidgets/markdowneditor/document.cpp b/examples/webenginewidgets/markdowneditor/document.cpp
deleted file mode 100644
index 8ece76509..000000000
--- a/examples/webenginewidgets/markdowneditor/document.cpp
+++ /dev/null
@@ -1,12 +0,0 @@
-// Copyright (C) 2016 The Qt Company Ltd.
-// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
-
-#include "document.h"
-
-void Document::setText(const QString &text)
-{
- if (text == m_text)
- return;
- m_text = text;
- emit textChanged(m_text);
-}