diff options
author | Yuhang Zhao <2546789017@qq.com> | 2022-12-22 18:56:47 +0800 |
---|---|---|
committer | Yuhang Zhao <2546789017@qq.com> | 2023-01-04 21:26:25 +0800 |
commit | 9af5a70c55c9ec85113303fb48af405304335d1a (patch) | |
tree | e68ac7211bf4222d671ea4064e32d4ca491b34bb /src/gui/kernel/qscreen.cpp | |
parent | f071421558c751dc03c338f3271546c459ed9209 (diff) |
Update the documentation of QScreen::name()
Task-number: QTBUG-109569
Pick-to: 6.5 6.4
Change-Id: I24ed586e9094e7cd2277c6289ffbd4210dd6e430
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/gui/kernel/qscreen.cpp')
-rw-r--r-- | src/gui/kernel/qscreen.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/kernel/qscreen.cpp b/src/gui/kernel/qscreen.cpp index 2cc38cb638..3932567eae 100644 --- a/src/gui/kernel/qscreen.cpp +++ b/src/gui/kernel/qscreen.cpp @@ -130,6 +130,10 @@ QPlatformScreen *QScreen::handle() const For example, on X11 these correspond to the XRandr screen names, typically "VGA1", "HDMI1", etc. + + \note The user presentable string is not guaranteed to match the + result of any native APIs, and should not be used to uniquely identify + a screen. */ QString QScreen::name() const { |