Commit 4cd745d0 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Don't use nullptr as flag value

parent 59201337
...@@ -167,7 +167,7 @@ Qt::ItemFlags KBookmarkModel::flags(const QModelIndex &index) const ...@@ -167,7 +167,7 @@ Qt::ItemFlags KBookmarkModel::flags(const QModelIndex &index) const
static const Qt::ItemFlags groupDragEditFlags = groupFlags | Qt::ItemIsDragEnabled | Qt::ItemIsEditable; static const Qt::ItemFlags groupDragEditFlags = groupFlags | Qt::ItemIsDragEnabled | Qt::ItemIsEditable;
static const Qt::ItemFlags groupEditFlags = groupFlags | Qt::ItemIsEditable; static const Qt::ItemFlags groupEditFlags = groupFlags | Qt::ItemIsEditable;
static const Qt::ItemFlags rootFlags = groupFlags; static const Qt::ItemFlags rootFlags = groupFlags;
static const Qt::ItemFlags bookmarkFlags = nullptr; static const Qt::ItemFlags bookmarkFlags = Qt::NoItemFlags;
static const Qt::ItemFlags bookmarkDragEditFlags = bookmarkFlags | Qt::ItemIsDragEnabled | Qt::ItemIsEditable; static const Qt::ItemFlags bookmarkDragEditFlags = bookmarkFlags | Qt::ItemIsDragEnabled | Qt::ItemIsEditable;
static const Qt::ItemFlags bookmarkEditFlags = bookmarkFlags | Qt::ItemIsEditable; static const Qt::ItemFlags bookmarkEditFlags = bookmarkFlags | Qt::ItemIsEditable;
......
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