From c922709f3341862d2ece562cd6b75e4b4b9be2d4 Mon Sep 17 00:00:00 2001 From: Andre Hartmann Date: Mon, 9 Nov 2020 08:03:34 +0100 Subject: [PATCH] Designer: Fix escaping '&' again It seems impossible to show a single '&' character on UI elements, as this character is also used for the mnenomics. So having a single '&' followed by a space creates a space character, having two of them ("&&") creates an underlined '&' (seen on Windows and Linux). So let's just work around this long-living issue and avoid the abbreviation. Amends commit bc37a9ab7d8 Change-Id: Ibcbfcac62d7be8c091ab2fc51621bddc9dad7e00 Reviewed-by: Friedemann Kleint Reviewed-by: Leena Miettinen --- src/plugins/designer/formeditorw.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/designer/formeditorw.cpp b/src/plugins/designer/formeditorw.cpp index 84b9c9bbc72..971b038193f 100644 --- a/src/plugins/designer/formeditorw.cpp +++ b/src/plugins/designer/formeditorw.cpp @@ -453,7 +453,7 @@ void FormEditorData::initDesignerSubWindows() m_designerSubWindows[PropertyEditorSubWindow] = pe; QWidget *se = QDesignerComponents::createSignalSlotEditor(m_formeditor, nullptr); - se->setWindowTitle(tr("Signals && Slots Editor")); + se->setWindowTitle(tr("Signals and Slots Editor")); se->setObjectName("SignalsAndSlotsEditor"); m_designerSubWindows[SignalSlotEditorSubWindow] = se;