Add explanatory comment to QWindowPrivate::resizeAutomatic
Amends a1c37462ee.
Task-number: QTBUG-74176
Change-Id: I24fa3e5d88e53e7efb8923fb4c55615a4f90abea
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
bb10
parent
9e61cec791
commit
2f97a050bc
|
|
@ -181,6 +181,10 @@ public:
|
|||
bool receivedExpose;
|
||||
PositionPolicy positionPolicy;
|
||||
bool positionAutomatic;
|
||||
// resizeAutomatic suppresses resizing by QPlatformWindow::initialGeometry().
|
||||
// It also indicates that width/height=0 is acceptable (for example, for
|
||||
// the QRollEffect widget) and is thus not cleared in setGeometry().
|
||||
// An alternative approach might be using -1,-1 as a default size.
|
||||
bool resizeAutomatic;
|
||||
Qt::ScreenOrientation contentOrientation;
|
||||
qreal opacity;
|
||||
|
|
|
|||
Loading…
Reference in New Issue