mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 02:49:46 +00:00
If the comment is correct, this code is not needed anymore
This was introduced at 3da25187
.
This commit is contained in:
parent
8837f8ca8c
commit
0a4f7db022
@ -66,10 +66,6 @@ bool GuiIdListModel::setData(QModelIndex const & index,
|
||||
if (role == Qt::DecorationRole)
|
||||
// nothing to do
|
||||
return true;
|
||||
if (role == Qt::UserRole - 1)
|
||||
// This role is set by Qt <= 5.5 if setEditable()
|
||||
// of the item is false
|
||||
return true;
|
||||
// If we assert here, it's because we're trying to set an
|
||||
// unrecognized role.
|
||||
LATTEST(false);
|
||||
|
Loading…
Reference in New Issue
Block a user