Use explicit constructor for better type restriction
Co-Authored-By: catalinr <catalinr@users.noreply.github.com>
This commit is contained in:
@@ -20,7 +20,7 @@ namespace
|
|||||||
class LexicalSortProxyModel : public QSortFilterProxyModel
|
class LexicalSortProxyModel : public QSortFilterProxyModel
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
LexicalSortProxyModel(QObject* owner) : QSortFilterProxyModel(owner) {}
|
explicit LexicalSortProxyModel(QObject* owner) : QSortFilterProxyModel(owner) {}
|
||||||
|
|
||||||
bool lessThan( const QModelIndex &left, const QModelIndex &right ) const wxOVERRIDE
|
bool lessThan( const QModelIndex &left, const QModelIndex &right ) const wxOVERRIDE
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user