The appname is appended by the platform (integration) usually,
so that only results in duplication.
Also fix code to now show the map in the title on start.
nienhueser | |
rahn |
Marble |
The appname is appended by the platform (integration) usually,
so that only results in duplication.
Also fix code to now show the map in the title on start.
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
I kinda wonder about the "usually" in the description, and expect at least Windows not to do anything remotely useful. Any idea what happens there?
http://doc.qt.io/qt-5/qwidget.html#windowTitle-prop says:
"
On some desktop platforms (including Windows and Unix), the application name (from QGuiApplication::applicationDisplayName) is added at the end of the window title, if set. This is done by the QPA plugin, so it is shown to the user, but isn't part of the windowTitle string.
"
So Windows should be fine. No idea though about macOS though. But given that QPA is supposed to deal with that, I would also rely on that to do some proper handling.