summaryrefslogtreecommitdiff
path: root/src/gui/text/qtextdocument_p.cpp
diff options
context:
space:
mode:
authorAlessandro Portale <alessandro.portale@qt.io>2019-02-06 07:54:33 +0100
committerAlessandro Portale <alessandro.portale@qt.io>2019-02-13 12:23:57 +0000
commit5993bea032936bd3c913290249eb5b60f819818d (patch)
tree1c1546314d602d9fe20819b4e8baeda2f7a5795a /src/gui/text/qtextdocument_p.cpp
parente1d42a40a2fabefdc57c40e25dbf7b923332ba5d (diff)
downloadqtbase-5993bea032936bd3c913290249eb5b60f819818d.tar.gz
Fix: "Missing emit keyword on signal call"
[-Wclazy-incorrect-emit] Change-Id: I32cf5db522dcb14bbe5151914624979929eeb52e Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Diffstat (limited to 'src/gui/text/qtextdocument_p.cpp')
-rw-r--r--src/gui/text/qtextdocument_p.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/text/qtextdocument_p.cpp b/src/gui/text/qtextdocument_p.cpp
index 66e038122c..c0a0c1a177 100644
--- a/src/gui/text/qtextdocument_p.cpp
+++ b/src/gui/text/qtextdocument_p.cpp
@@ -275,7 +275,7 @@ void QTextDocumentPrivate::clear()
init();
cursors = oldCursors;
inContentsChange = true;
- q->contentsChange(0, len, 0);
+ emit q->contentsChange(0, len, 0);
inContentsChange = false;
if (lout)
lout->documentChanged(0, len, 0);