aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2019-12-12 13:27:02 +0100
committerMitch Curtis <mitch.curtis@qt.io>2019-12-12 15:41:00 +0100
commitbcdd38074be6828db41396bd3c0ec601993ed59b (patch)
tree64b1aa0afb7fa21bfeff3e34dd4ecc94d834db3b /examples
parent06162b3712b6ff2e25e1b20a139fe5c42e95b123 (diff)
clang-tidy: fix cppcoreguidelines-pro-type-member-init
Ensure that all members are initialized and remove an unused member. Change-Id: Ibfb3ea86b7791cd6f8683b68e7cd3bc4256b33f7 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'examples')
-rw-r--r--examples/quickcontrols2/texteditor/documenthandler.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/quickcontrols2/texteditor/documenthandler.h b/examples/quickcontrols2/texteditor/documenthandler.h
index 97e55658..1a34f0e0 100644
--- a/examples/quickcontrols2/texteditor/documenthandler.h
+++ b/examples/quickcontrols2/texteditor/documenthandler.h
@@ -170,7 +170,6 @@ private:
int m_selectionEnd;
QFont m_font;
- int m_fontSize;
QUrl m_fileUrl;
};