QCollator: mark ctor explicit
QCollator and QLocale are not equivalent types, so there should be no implicit conversion between them. Change-Id: I395f8dc3c35b4202c9276c3eea0686176f8e07cc Reviewed-by: Aleix Pol Gonzalez <aleixpol@kde.org> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
e3383ab646
commit
4225e71038
@ -79,7 +79,7 @@ private:
|
||||
class Q_CORE_EXPORT QCollator
|
||||
{
|
||||
public:
|
||||
QCollator(const QLocale &locale = QLocale());
|
||||
explicit QCollator(const QLocale &locale = QLocale());
|
||||
QCollator(const QCollator &);
|
||||
~QCollator();
|
||||
QCollator &operator=(const QCollator &);
|
||||
|
Loading…
Reference in New Issue
Block a user