trialuser02 / qt6ct

Qt6 Configuration Tool
BSD 2-Clause "Simplified" License
128 stars 10 forks source link

Remove .desktop suffix when calling setDesktopFileName #39

Closed marcusbritanicus closed 4 months ago

marcusbritanicus commented 5 months ago

Currently we get this warning from Qt6.

QGuiApplication::setDesktopFileName: the specified desktop file name ends with .desktop. For compatibility reasons, the .desktop suffix will be removed. Please specify a desktop file name without .desktop suffix

This is because Qt6 expects the desktopFileName to be just the file name of the desktop without path or .desktop suffix.

This is the file name, without the full path or the trailing ".desktop" extension of the desktop entry that represents this application according to the freedesktop desktop entry specification.

This PR removes the .desktop suffix

trialuser02 commented 4 months ago

Thank you!