Also drop checking if the suffix exists, the code is only reached
because this condition has been checked before
Seen while browsing code, no app known to me which would set a non-absolute
desktop file.
hein | |
broulik | |
davidedmundson |
Plasma |
Also drop checking if the suffix exists, the code is only reached
because this condition has been checked before
Seen while browsing code, no app known to me which would set a non-absolute
desktop file.
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
:/ good catch.
libtaskmanager/startuptasksmodel.cpp | ||
---|---|---|
178 | I quite like doing appId.chop(strlen(".desktop")) then it's self documenting - strlen is magical and evaluates at compile time. |