diff options
author | David Edmundson <davidedmundson@kde.org> | 2023-05-15 11:37:20 +0300 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2023-05-16 18:09:38 +0000 |
commit | 0c5135a9dfa6140d23d86b001c3054891c22dcb9 (patch) | |
tree | 2584ed062e2cb7e0788ec84f42b77258033b6c8e | |
parent | 842dbca61716409b30714680c961684811eb97ca (diff) | |
download | qtbase-0c5135a9dfa6140d23d86b001c3054891c22dcb9.tar.gz |
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>
-rw-r--r-- | src/gui/kernel/qguiapplication.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/kernel/qguiapplication.cpp b/src/gui/kernel/qguiapplication.cpp index c9443c3887..3ee1c54826 100644 --- a/src/gui/kernel/qguiapplication.cpp +++ b/src/gui/kernel/qguiapplication.cpp @@ -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 |