File 0005-Do-not-apply-linux-only-related-access-right-check-f.patch of Package mingw64-kconfig

From ba602b603908694322de98cedc20fd2526c5199c Mon Sep 17 00:00:00 2001
From: Ralf Habacker <ralf.habacker@freenet.de>
Date: Mon, 26 Jul 2021 21:04:36 +0200
Subject: [PATCH 5/5] Do not apply linux only related access right check for
 desktop files on Windows

---
 src/core/kdesktopfile.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/core/kdesktopfile.cpp b/src/core/kdesktopfile.cpp
index 5411e48..d9b97b2 100644
--- a/src/core/kdesktopfile.cpp
+++ b/src/core/kdesktopfile.cpp
@@ -155,6 +155,9 @@ bool KDesktopFile::isAuthorizedDesktopFile(const QString &path)
         return false;
     }
 
+#ifdef Q_OS_WIN
+    return true;
+#endif
     // Not otherwise permitted, so only allow if the file is executable, or if
     // owned by root (uid == 0)
     QFileInfo entryInfo(path);
-- 
2.26.2

openSUSE Build Service is sponsored by