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(-)
diff --git a/src/kcmdesignerfields.cpp b/src/kcmdesignerfields.cpp
index 1c6f2e1e1..82118b57b 100644
--- a/src/kcmdesignerfields.cpp
+++ b/src/kcmdesignerfields.cpp
@@ -282,7 +282,7 @@ void KCMDesignerFields::initGUI()
#endif
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(
@@ -483,7 +483,7 @@ void KCMDesignerFields::startDesigner()
args.append(pageItem->path());
}
- auto job = new KIO::CommandLauncherJob(QStringLiteral("designer"), args, this);
+ auto job = new KIO::CommandLauncherJob(QStringLiteral("designer-qt5"), args, this);
#if KCMUTILS_VERSION < QT_VERSION_CHECK(5, 240, 0)
job->setUiDelegate(new KDialogJobUiDelegate(KJobUiDelegate::AutoHandlingEnabled, this));
#else