diff --git a/src/abstract_client.cpp b/src/abstract_client.cpp index 8c3885b0ea..18af2285e8 100644 --- a/src/abstract_client.cpp +++ b/src/abstract_client.cpp @@ -2711,11 +2711,11 @@ QString AbstractClient::iconFromDesktopFile(const QString &desktopFileName) if (desktopFilePath.isEmpty()) { desktopFilePath = QStandardPaths::locate(QStandardPaths::ApplicationsLocation, - desktopFileName); + desktopFileNameWithPrefix); } if (desktopFilePath.isEmpty()) { desktopFilePath = QStandardPaths::locate(QStandardPaths::ApplicationsLocation, - desktopFileNameWithPrefix); + desktopFileName); } if (desktopFilePath.isEmpty()) { return {};