Commit d9f36d0d authored by Rémi Duraffort's avatar Rémi Duraffort

ML: fix typo (fix missing vtable)

parent 1280d764
......@@ -259,7 +259,7 @@ int MLModel::getId( QModelIndex index ) const
return getItem( index )->id();
}
QVariant MLModel::data( const QModelIndex &index, int role ) const
QVariant MLModel::data( const QModelIndex &index, const int role ) const
{
if( index.isValid() )
{
......
......@@ -62,7 +62,7 @@ public:
}
virtual int getId( QModelIndex index ) const;
QVariant data( const QModelIndex &idx, int role = Qt::DisplayRole ) const;
QVariant data( const QModelIndex &idx, const int role = Qt::DisplayRole ) const;
bool setData( const QModelIndex &idx, const QVariant &value,
int role = Qt::EditRole );
ml_select_e columnType( int column ) const;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment