Commit a92ce693 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
parent c59da1f4
......@@ -2654,6 +2654,10 @@ void AbstractClient::setDesktopFileName(QByteArray name)
QString AbstractClient::iconFromDesktopFile() const
if (m_desktopFileName.isEmpty()) {
return {};
const QString desktopFileName = QString::fromUtf8(m_desktopFileName);
QString desktopFilePath;
Supports Markdown
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