Clarify documentation about QGuiApplication::setDesktopFileName format

Whislt the documentation says "base name" there are lots of examples in
the wild of clients using the wrong name here. Writing it explicitly
might help.

Task-number: QTBUG-75521
Pick-to: 6.5
Change-Id: Ic17ca161cf58449e85e25d9b6b8ace44fe14f18a
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
This commit is contained in:
David Edmundson 2023-05-15 11:37:20 +03:00 committed by Tor Arne Vestbø
parent 842dbca617
commit 0c5135a9df

View File

@ -776,9 +776,9 @@ void QGuiApplication::setBadgeNumber(qint64 number)
\brief the base name of the desktop entry for this application
\since 5.7
This is the file name, without the full path, of the desktop entry
that represents this application according to the freedesktop desktop
entry specification.
This is the file name, without the full path or the trailing ".desktop"
extension of the desktop entry that represents this application
according to the freedesktop desktop entry specification.
This property gives a precise indication of what desktop entry represents
the application and it is needed by the windowing system to retrieve