Commit 49fcaeb1 authored by Waqar Ahmed's avatar Waqar Ahmed
Browse files

Avoid copying model entry in quickopenmodel

parent 254d2a0b
......@@ -43,7 +43,7 @@ QVariant KateQuickOpenModel::data(const QModelIndex &idx, int role) const
return {};
auto entry =;
const ModelEntry &entry =;
if (role == Qt::DisplayRole) {
switch (idx.column()) {
case Columns::FileName:
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