mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
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.
This commit is contained in:
parent
d12ebb00b9
commit
bbe36ce6ce
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user