Commit 0b5cbe40 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧 Committed by Aleix Pol Gonzalez
Browse files

Restore empty filename check

Otherwise we could end up matching with a weird ".../.desktop" entry.

BUG: 427979

(cherry picked from commit a92ce693)
parent 191bef73
......@@ -2616,6 +2616,10 @@ void AbstractClient::setDesktopFileName(QByteArray name)
QString AbstractClient::iconFromDesktopFile() const
if (m_desktopFileName.isEmpty()) {
return {};
const QString desktopFileName = QString::fromUtf8(m_desktopFileName);
QString desktopFilePath;
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