From be5dce2e9e8a2950b1f214563fb6fcfdd64dfbf4 Mon Sep 17 00:00:00 2001 From: Chris Mayo Date: Sat, 9 Mar 2024 17:23:53 +0000 Subject: [PATCH] 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" --- src/Main/MainGui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Main/MainGui.cpp b/src/Main/MainGui.cpp index 75fce5640c..f95db67376 100644 --- a/src/Main/MainGui.cpp +++ b/src/Main/MainGui.cpp @@ -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 ===========================================================