From b4a0e16db96a801520615c7721c327760b408bc4 Mon Sep 17 00:00:00 2001
From: Florian Bruhin
Date: Wed, 19 Sep 2018 21:56:39 +0200
Subject: [PATCH] Fix appending text
This was broken in 6e954a15969184a86d9eacb90e3f565d8fca1f18.
---
doc/changelog.asciidoc | 1 +
qutebrowser/misc/backendproblem.py | 6 +++---
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/doc/changelog.asciidoc b/doc/changelog.asciidoc
index 6eb427a94..d28dcb3d7 100644
--- a/doc/changelog.asciidoc
+++ b/doc/changelog.asciidoc
@@ -73,6 +73,7 @@ Fixed
- Greasemonkey scripts which start with an UTF-8 BOM are now handled correctly.
- When no documentation has been generated, the plaintext documentation now can
be shown for more files such as `qute://help/userscripts.html`.
+- Crash when doing initial run on Wayland without XWayland
Removed
~~~~~~~
diff --git a/qutebrowser/misc/backendproblem.py b/qutebrowser/misc/backendproblem.py
index 3bd52eb44..d5f7c9680 100644
--- a/qutebrowser/misc/backendproblem.py
+++ b/qutebrowser/misc/backendproblem.py
@@ -247,9 +247,9 @@ def _handle_wayland():
"(if you have a config.py file, you'll need to set "
"this manually).
")
else:
- text.append("Set up XWayland
"
- "This allows you to use the newer QtWebEngine backend "
- "(based on Chromium). ")
+ text += ("
Set up XWayland
"
+ "This allows you to use the newer QtWebEngine backend "
+ "(based on Chromium). ")
if has_qt511:
buttons.append(_Button("Force software rendering",