mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 02:42:48 +00:00
kdeui: do not change the KDialog size on details widget visibility change
because the details widget may be shown, the dialog manually resized and when the details widget is hidden the manually set size gets overriden - the dialog size should remain the same after manual resize! Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
b4fc8cf48b
commit
4ed10bdd76
1 changed files with 0 additions and 3 deletions
|
@ -840,8 +840,6 @@ void KDialog::setDetailsWidgetVisible(bool visible)
|
|||
|
||||
d->mDetailsWidget->show();
|
||||
|
||||
adjustSize();
|
||||
|
||||
if (layout()) {
|
||||
layout()->activate();
|
||||
layout()->setEnabled(true);
|
||||
|
@ -855,7 +853,6 @@ void KDialog::setDetailsWidgetVisible(bool visible)
|
|||
|
||||
if (layout()) {
|
||||
layout()->activate();
|
||||
adjustSize();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue