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>
This commit is contained in:
parent
d8897e0b08
commit
99b3966319
@ -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
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user