QLocale: Un-inline QString& constructor
Because it's BiC. From the API review. Pick-to: 6.3 Change-Id: I69f1fe58428241a876ae9058e8a0108a8e496c22 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Marc Mutz <marc.mutz@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
bd71fb2514
commit
3e3a109ef2
@ -1022,9 +1022,9 @@ QLocale::QLocale(QStringView name)
|
|||||||
|
|
||||||
#if QT_STRINGVIEW_LEVEL < 2
|
#if QT_STRINGVIEW_LEVEL < 2
|
||||||
/*!
|
/*!
|
||||||
\fn QLocale::QLocale(const QString &name)
|
|
||||||
\overload
|
\overload
|
||||||
*/
|
*/
|
||||||
|
QLocale::QLocale(const QString &name) : QLocale(qToStringViewIgnoringNull(name)) {}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
@ -928,7 +928,7 @@ public:
|
|||||||
|
|
||||||
QLocale();
|
QLocale();
|
||||||
#if QT_STRINGVIEW_LEVEL < 2
|
#if QT_STRINGVIEW_LEVEL < 2
|
||||||
explicit QLocale(const QString &name) : QLocale(qToStringViewIgnoringNull(name)) {}
|
explicit QLocale(const QString &name);
|
||||||
#endif
|
#endif
|
||||||
explicit QLocale(QStringView name);
|
explicit QLocale(QStringView name);
|
||||||
QLocale(Language language, Territory territory);
|
QLocale(Language language, Territory territory);
|
||||||
|
Loading…
Reference in New Issue
Block a user