actually resize the dialog in adjustView
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=869904
This commit is contained in:
parent
4a63440530
commit
d96cc1d739
@ -115,6 +115,8 @@ void DialogPrivate::adjustView()
|
||||
|
||||
q->setMinimumSize(qMin(int(widget->minimumSize().width()) + left + right, QWIDGETSIZE_MAX),
|
||||
qMin(int(widget->minimumSize().height()) + top + bottom, QWIDGETSIZE_MAX));
|
||||
q->resize(qMin(int(widget->minimumSize().width()) + left + right, QWIDGETSIZE_MAX),
|
||||
qMin(int(widget->minimumSize().height()) + top + bottom, QWIDGETSIZE_MAX));
|
||||
q->setMaximumSize(qMin(int(widget->maximumSize().width()) + left + right, QWIDGETSIZE_MAX),
|
||||
qMin(int(widget->maximumSize().height()) + top + bottom, QWIDGETSIZE_MAX));
|
||||
q->updateGeometry();
|
||||
|
Loading…
Reference in New Issue
Block a user