Find desktop entries and default application using QStandardPaths

Use QStandardPaths instead of custom implementation.