Commit b4b6418a authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

Tiny optimization

parent 147debe3
......@@ -62,8 +62,8 @@ QString Utils::desktopEntryFromPid(uint pid)
}
const QByteArray key = line.left(equalsIdx);
const QByteArray value = line.mid(equalsIdx + 1);
if (key == bamfDesktopFileHint) {
const QByteArray value = line.mid(equalsIdx + 1);
return value;
}
}
......
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