Doc: warn about resize event bug
The resize event for QMdiSubWindow may occasionally have an invalid oldSize(). This has been the case since 2007. Fixing this looks like a high risk, low reward endeavour. Task-number: QTBUG-32446 Change-Id: I80ce43987c7b6e346cd44f7ac4cef01b01e5472b Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
This commit is contained in:
parent
c179fc710e
commit
d41368b4e9
@ -3058,6 +3058,9 @@ void QMdiSubWindow::leaveEvent(QEvent * /*leaveEvent*/)
|
|||||||
|
|
||||||
/*!
|
/*!
|
||||||
\reimp
|
\reimp
|
||||||
|
|
||||||
|
\warning When maximizing or restoring a subwindow, the resulting call to this function
|
||||||
|
may have an invalid QResizeEvent::oldSize().
|
||||||
*/
|
*/
|
||||||
void QMdiSubWindow::resizeEvent(QResizeEvent *resizeEvent)
|
void QMdiSubWindow::resizeEvent(QResizeEvent *resizeEvent)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user