Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 4e4c9bef authored by Laurent Montel's avatar Laurent Montel 😁

REmove unused code

parent aca10e44
......@@ -437,12 +437,3 @@ Qt::DropActions SnippetsModel::supportedDropActions() const
return Qt::CopyAction | Qt::MoveAction;
QHash<int, QByteArray> SnippetsModel::roleNames() const
static QHash<int, QByteArray> names;
if (names.isEmpty()) {
names.insert(IsGroupRole, QByteArrayLiteral("isSnippetGroup"));
return names;
......@@ -61,7 +61,6 @@ public:
bool dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) override;
Qt::DropActions supportedDropActions() const override;
QHash<int, QByteArray> roleNames() const override;
bool insertRows(int row, int count, const QModelIndex &parent = QModelIndex()) override;
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