summaryrefslogtreecommitdiff
path: root/user/horizon/fix-qt-runner.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-06-05 02:33:07 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-06-05 02:33:26 +0000
commit71c77f314167a8e5e3f18be557c88f28d3e04692 (patch)
tree078c7adb22b9c2917069dff43a7e711f3146f323 /user/horizon/fix-qt-runner.patch
parent925fabf5441a16a7d347fed2b3bd36ef46fc1f62 (diff)
downloadpackages-71c77f314167a8e5e3f18be557c88f28d3e04692.tar.gz
packages-71c77f314167a8e5e3f18be557c88f28d3e04692.tar.bz2
packages-71c77f314167a8e5e3f18be557c88f28d3e04692.tar.xz
packages-71c77f314167a8e5e3f18be557c88f28d3e04692.zip
user/horizon: Fix issue with runner logging
Diffstat (limited to 'user/horizon/fix-qt-runner.patch')
-rw-r--r--user/horizon/fix-qt-runner.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/user/horizon/fix-qt-runner.patch b/user/horizon/fix-qt-runner.patch
new file mode 100644
index 000000000..39cab1181
--- /dev/null
+++ b/user/horizon/fix-qt-runner.patch
@@ -0,0 +1,25 @@
+From 9f737dbab8b9ed9fa57bdf15542cc00a8363d98b Mon Sep 17 00:00:00 2001
+From: "A. Wilcox" <AWilcox@Wilcox-Tech.com>
+Date: Thu, 4 Jun 2020 21:29:37 -0500
+Subject: [PATCH] Qt UI: Ensure log is opened when built in release modes
+
+---
+ ui/qt5/runner/executepage.cc | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/ui/qt5/runner/executepage.cc b/ui/qt5/runner/executepage.cc
+index 999731a..d5788df 100644
+--- a/ui/qt5/runner/executepage.cc
++++ b/ui/qt5/runner/executepage.cc
+@@ -48,7 +48,7 @@ ExecutePage::ExecutePage(QWidget *parent) : HorizonWizardPage(parent) {
+ });
+
+ log.setFileName("/var/log/horizon/executor.log");
+- Q_ASSERT(log.open(QFile::Append));
++ log.open(QFile::Append);
+
+ this->current = Prepare;
+ markRunning(this->current);
+--
+2.25.4
+