From 35e9b13e1517da51846f923d7bda7bd5ca5f36d5 Mon Sep 17 00:00:00 2001 From: hjk Date: Thu, 22 Jun 2023 17:35:52 +0200 Subject: [PATCH] App: Fix a warning "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" Change-Id: I84fa4d6dbed9ab95f9f90b452915bdce290743f3 Reviewed-by: Eike Ziller Reviewed-by: --- src/app/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/main.cpp b/src/app/main.cpp index d4c4a47b8c8..89bf5f74127 100644 --- a/src/app/main.cpp +++ b/src/app/main.cpp @@ -688,7 +688,7 @@ int main(int argc, char **argv) if (!overrideCodecForLocale.isEmpty()) QTextCodec::setCodecForLocale(QTextCodec::codecForName(overrideCodecForLocale)); - app.setDesktopFileName("org.qt-project.qtcreator.desktop"); + app.setDesktopFileName("org.qt-project.qtcreator"); // Make sure we honor the system's proxy settings QNetworkProxyFactory::setUseSystemConfiguration(true);