kxmlgui: fix path to ksendbugmail

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
This commit is contained in:
Andreas Müller
2015-02-09 14:14:01 +01:00
parent 6d6cf0d718
commit 77e4840b51
2 changed files with 35 additions and 1 deletions

View File

@@ -0,0 +1,31 @@
From 20628c130547773e618aa83ddda156147113a24b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
Date: Mon, 9 Feb 2015 14:10:24 +0100
Subject: [PATCH] fix path to ksendbugmail
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Upstream-Status: Inappropriate [configuration]
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
src/kbugreport.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/kbugreport.cpp b/src/kbugreport.cpp
index c275129..41cf0d4 100644
--- a/src/kbugreport.cpp
+++ b/src/kbugreport.cpp
@@ -528,7 +528,7 @@ bool KBugReport::sendBugReport()
QString command = QStandardPaths::findExecutable(QStringLiteral("ksendbugmail"));
if (command.isEmpty()) {
- command = QFile::decodeName(CMAKE_INSTALL_PREFIX "/" KF5_LIBEXEC_INSTALL_DIR "/ksendbugmail");
+ command = QFile::decodeName(KF5_LIBEXEC_INSTALL_DIR "/ksendbugmail");
}
QProcess proc;
--
1.9.3

View File

@@ -25,7 +25,10 @@ SRCREV = "41a2bcc80650843aee553a9b47e1ed86fb898268"
S = "${WORKDIR}/git"
# REVISIT remove ugly hack for wayland-only environments
SRC_URI += "file://0001-workaround-session-less-qtbase-required-for-pure-way.patch"
SRC_URI += " \
file://0001-workaround-session-less-qtbase-required-for-pure-way.patch \
file://0002-fix-path-to-ksendbugmail.patch \
"
EXTRA_OECMAKE += "-DBUILD_TESTING=OFF"