diff --git a/src/controls/QskWindow.cpp b/src/controls/QskWindow.cpp index cddece5b..e6669fab 100644 --- a/src/controls/QskWindow.cpp +++ b/src/controls/QskWindow.cpp @@ -246,7 +246,7 @@ bool QskWindow::event( QEvent* event ) { const QSize sz = effectivePreferredSize(); if ( !sz.isEmpty() ) - resize( effectivePreferredSize() ); + resize( sz ); } break; @@ -424,6 +424,8 @@ QSize QskWindow::effectivePreferredSize() const } } +qDebug() << constraint.width() << constraint.height(); + // QWindow geometries are in integers return QSize( qskToIntegerConstraint( constraint.width() ),