From fe3637a70f8d22462a0498b31168a339987d4b9b Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Tue, 21 Jan 2014 09:07:49 +0100 Subject: Remove TableFormat as FormatType from QTextFormat The enum value is unused, a QTextTableFormat is actually documented to have a FormatType of FrameFormat, and isTableFormat() etc. do the right thing. Task-number: QTBUG-35114 Change-Id: I2f3305630b92f117c1f89b85460457265e5af126 Reviewed-by: Simon Hausmann --- src/gui/text/qtextformat.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui/text/qtextformat.h') diff --git a/src/gui/text/qtextformat.h b/src/gui/text/qtextformat.h index 1906a8a0c2..5369001a03 100644 --- a/src/gui/text/qtextformat.h +++ b/src/gui/text/qtextformat.h @@ -141,7 +141,9 @@ public: BlockFormat = 1, CharFormat = 2, ListFormat = 3, +#if QT_DEPRECATED_SINCE(5, 3) TableFormat = 4, +#endif FrameFormat = 5, UserFormat = 100 -- cgit v1.2.3