Gui: Remove ".desktop" suffix from QGuiApplication::setDesktopFileName()

"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 commit is contained in:
Chris Mayo
2024-03-09 17:23:53 +00:00
committed by Chris Hennes
parent 28ff03a081
commit be5dce2e9e

View File

@@ -171,7 +171,7 @@ int main( int argc, char ** argv )
App::Application::Config()["SplashInfoColor" ] = "#8aadf4"; // light blue
App::Application::Config()["SplashInfoPosition" ] = "6,75";
QGuiApplication::setDesktopFileName(QStringLiteral("org.freecad.FreeCAD.desktop"));
QGuiApplication::setDesktopFileName(QStringLiteral("org.freecad.FreeCAD"));
try {
// Init phase ===========================================================