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