diff options
author | Paul Wicking <paul.wicking@qt.io> | 2020-01-13 14:43:34 +0100 |
---|---|---|
committer | Paul Wicking <paul.wicking@qt.io> | 2020-01-14 06:52:29 +0100 |
commit | 99b396631999d7fc4e5e95b90a83858a5cb5a941 (patch) | |
tree | 9a9e98f17fd1b645b60f75299f68313d29958141 /src/widgets/kernel | |
parent | d8897e0b08974a687b7ba9099732afe94400fef3 (diff) |
Doc: Add note about mac-specific behavior for setWindowIcon
Fixes: QTBUG-74985
Change-Id: I7379865ab9564301c1e636ba1fda40cbb9e04c61
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/widgets/kernel')
-rw-r--r-- | src/widgets/kernel/qwidget.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/widgets/kernel/qwidget.cpp b/src/widgets/kernel/qwidget.cpp index dcc694efe4..c389c4ab4d 100644 --- a/src/widgets/kernel/qwidget.cpp +++ b/src/widgets/kernel/qwidget.cpp @@ -5955,7 +5955,11 @@ void QWidget::setWindowTitle(const QString &title) has been set, windowIcon() returns the application icon (QApplication::windowIcon()). - \sa windowTitle + \note On \macos, window icons represent the active document, + and will not be displayed unless a file path has also been + set using setFilePath. + + \sa windowTitle, setFilePath */ QIcon QWidget::windowIcon() const { |