Deprecate QLatin1Literal
It's an undocumented typedef for QLatin1String. [ChangeLog][QtCore][QLatin1Literal] The undocumented QLatin1Literal type alias for QLatin1String is now deprecated. Use QLatin1String instead. Change-Id: I05eba8b857454e59b9b9d7b07c42fe6fc9c77fec Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
97891aa197
commit
45373c1924
@ -214,7 +214,9 @@ private:
|
||||
Q_DECLARE_TYPEINFO(QLatin1String, Q_MOVABLE_TYPE);
|
||||
|
||||
// Qt 4.x compatibility
|
||||
typedef QLatin1String QLatin1Literal;
|
||||
#if QT_DEPRECATED_SINCE(5, 14)
|
||||
QT_DEPRECATED_X("Use QLatin1String") typedef QLatin1String QLatin1Literal;
|
||||
#endif
|
||||
|
||||
//
|
||||
// QLatin1String inline implementations
|
||||
|
Loading…
Reference in New Issue
Block a user