summaryrefslogtreecommitdiff
path: root/src/corelib/text/qunicodetools_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/text/qunicodetools_p.h')
-rw-r--r--src/corelib/text/qunicodetools_p.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/corelib/text/qunicodetools_p.h b/src/corelib/text/qunicodetools_p.h
index 5715444025..259f3f209e 100644
--- a/src/corelib/text/qunicodetools_p.h
+++ b/src/corelib/text/qunicodetools_p.h
@@ -91,7 +91,6 @@ enum CharAttributeOption {
LineBreaks = 0x08,
WhiteSpaces = 0x10,
HangulLineBreakTailoring = 0x20,
- DefaultOptionsCompat = GraphemeBreaks | LineBreaks | WhiteSpaces, // ### remove
DontClearAttributes = 0x1000
};
@@ -100,7 +99,7 @@ Q_DECLARE_FLAGS(CharAttributeOptions, CharAttributeOption)
// attributes buffer has to have a length of string length + 1
Q_CORE_EXPORT void initCharAttributes(const ushort *string, int length,
const ScriptItem *items, int numItems,
- QCharAttributes *attributes, CharAttributeOptions options = DefaultOptionsCompat);
+ QCharAttributes *attributes, CharAttributeOptions options);
Q_CORE_EXPORT void initScripts(const ushort *string, int length, ScriptItemArray *scripts);