Commit 8916a647 authored by Laurent Montel's avatar Laurent Montel
Browse files

don't use const'ref here (found by clazy)

parent 8e0d84d0
Pipeline #245938 passed with stage
in 19 minutes and 3 seconds
......@@ -456,7 +456,7 @@ void KFileItemModelRolesUpdater::slotItemsRemoved(const KItemRangeList& itemRang
}
}
void KFileItemModelRolesUpdater::slotItemsMoved(const KItemRange& itemRange, const QList<int> &movedToIndexes)
void KFileItemModelRolesUpdater::slotItemsMoved(KItemRange itemRange, const QList<int> &movedToIndexes)
{
Q_UNUSED(itemRange)
Q_UNUSED(movedToIndexes)
......
......@@ -177,7 +177,7 @@ public:
private Q_SLOTS:
void slotItemsInserted(const KItemRangeList& itemRanges);
void slotItemsRemoved(const KItemRangeList& itemRanges);
void slotItemsMoved(const KItemRange& itemRange, const QList<int> &movedToIndexes);
void slotItemsMoved(KItemRange itemRange, const QList<int> &movedToIndexes);
void slotItemsChanged(const KItemRangeList& itemRanges,
const QSet<QByteArray>& roles);
void slotSortRoleChanged(const QByteArray& current,
......
Supports Markdown
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