Merge pull request #192 from RomanPudashkin/setMaximumSize_fix
Fixed changing of the maximum size for widgets
This commit is contained in:
@@ -339,7 +339,7 @@ void QWidgetAdapter::setMinimumSize(QSize sz)
|
||||
|
||||
void QWidgetAdapter::setMaximumSize(QSize sz)
|
||||
{
|
||||
if (minimumSize() != sz) {
|
||||
if (maximumSize() != sz) {
|
||||
setProperty("kddockwidgets_max_size", sz);
|
||||
updateGeometry();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user