From d95be03c896cd5420551c426500b5badb40a79ca Mon Sep 17 00:00:00 2001 From: Integral Date: Thu, 4 Jul 2024 22:40:19 +0800 Subject: [PATCH] fix: add os limit & qt version limit to setDesktopFileName --- UEFITool/uefitool_main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/UEFITool/uefitool_main.cpp b/UEFITool/uefitool_main.cpp index b153f1170..4a8b75f04 100644 --- a/UEFITool/uefitool_main.cpp +++ b/UEFITool/uefitool_main.cpp @@ -26,7 +26,9 @@ class UEFIToolApplication : public QApplication setOrganizationName("CodeRush"); setOrganizationDomain("coderush.me"); setApplicationName("UEFITool"); +#if defined Q_OS_LINUX && QT_VERSION >= QT_VERSION_CHECK(5, 7, 0) setDesktopFileName("uefitool"); +#endif tool = new UEFITool(); }