From bbe36ce6ce87ae37b7c30c250efbff2f9c185de4 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Wed, 21 Sep 2016 13:56:28 +0200 Subject: [PATCH] Do not use em dash in window title It seems that only KDE does that. Gnome does not, Windows does not either. I do not think that we can/want to detect a KDE environment at run-time. --- src/frontends/qt4/GuiView.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/frontends/qt4/GuiView.cpp b/src/frontends/qt4/GuiView.cpp index 251b664679..10ec74e684 100644 --- a/src/frontends/qt4/GuiView.cpp +++ b/src/frontends/qt4/GuiView.cpp @@ -1173,8 +1173,7 @@ void GuiView::updateWindowTitle(GuiWorkArea * wa) // Set the windows title docstring title = buf.fileName().displayName(130) + from_ascii("[*]"); #ifndef Q_WS_MAC - // — U+2014 EM DASH - title += from_ascii(" ") + char_type(0x2014) + from_ascii(" LyX"); + title += from_ascii(" - LyX"); #endif setWindowTitle(toqstr(title)); // Sets the path for the window: this is used by OSX to -- 2.39.2