File 0001-Look-for-designer-qt5-on-openSUSE.patch of Package korganizer

From a5407d204273a67a4074daa5105c7c3e713dcf1f Mon Sep 17 00:00:00 2001
From: Christophe Giboudeaux <christophe@krop.fr>
Date: Tue, 16 Feb 2021 10:23:51 +0100
Subject: [PATCH] Look for designer-qt5 on openSUSE

---
 src/kcmdesignerfields.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Index: korganizer-19.11.70git.20210502T090139~2f8322e65/src/kcmdesignerfields.cpp
===================================================================
--- korganizer-19.11.70git.20210502T090139~2f8322e65.orig/src/kcmdesignerfields.cpp	2021-05-03 06:43:43.861755406 +0200
+++ korganizer-19.11.70git.20210502T090139~2f8322e65/src/kcmdesignerfields.cpp	2021-05-03 06:44:52.388487257 +0200
@@ -269,7 +269,7 @@
     auto layout = new QVBoxLayout(this);
     layout->setContentsMargins({});
 
-    const bool noDesigner = QStandardPaths::findExecutable(QStringLiteral("designer")).isEmpty();
+    const bool noDesigner = QStandardPaths::findExecutable(QStringLiteral("designer-qt5")).isEmpty();
 
     if (noDesigner) {
         const QString txt = i18n(
@@ -438,7 +438,7 @@
         args.append(pageItem->path());
     }
 
-    auto job = new KIO::CommandLauncherJob(QStringLiteral("designer"), args, this);
+    auto job = new KIO::CommandLauncherJob(QStringLiteral("designer-qt5"), args, this);
     job->setUiDelegate(new KDialogJobUiDelegate(KJobUiDelegate::AutoHandlingEnabled, this));
     job->start();
 }
openSUSE Build Service is sponsored by