Document that QWindow::fromWinId() should be used with caution

Change-Id: I28c58fb720c323048615efe677a920f179ef9d20
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
This commit is contained in:
Tor Arne Vestbø 2015-10-13 16:13:30 +02:00 committed by Simon Hausmann
parent b37a548d08
commit e9835a3812

View File

@ -2382,6 +2382,11 @@ QWindow *QWindowPrivate::topLevelWindow() const
If foreign windows are not supported, this function returns 0.
\note The resulting QWindow should not be used to manipulate the underlying
native window (besides re-parenting), or to observe state changes of the
native window. Any support for these kind of operations is incidental, highly
platform dependent and untested.
\sa setParent()
\sa setTransientParent()
*/