DavidoTek / ProtonUp-Qt

Install and manage GE-Proton, Luxtorpeda & more for Steam and Wine-GE & more for Lutris with this graphical user interface.
https://davidotek.github.io/protonup-qt
GNU General Public License v3.0
1.17k stars 39 forks source link

Remove Qt .desktop file prefix #287

Closed DavidoTek closed 10 months ago

DavidoTek commented 10 months ago

With PySide 6.5.2, QGuiApplication::setDesktopFileName expects the id without suffix .desktop:

Platform: KDE Flatpak runtime 6.5 Linux-6.2.0-32-generic-x86_64-with-glibc2.35
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

Changes

- app.setDesktopFileName('net.davidotek.pupgui2.desktop')
+ app.setDesktopFileName('net.davidotek.pupgui2')