diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-07-28 15:51:58 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-07-28 15:51:58 -0500 |
commit | fe7969ef886d7287fa959929ddd33fbad8407884 (patch) | |
tree | 589aacc109d27561a5188bb46bce27c78bad8f5b /src/dialogs/qdialog.cpp | |
parent | dba8a853b65e5707e48450e5085e0ff0513b4203 (diff) | |
download | tqt3-fe7969ef886d7287fa959929ddd33fbad8407884.tar.gz tqt3-fe7969ef886d7287fa959929ddd33fbad8407884.zip |
Automated update from Qt3
Diffstat (limited to 'src/dialogs/qdialog.cpp')
-rw-r--r-- | src/dialogs/qdialog.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/dialogs/qdialog.cpp b/src/dialogs/qdialog.cpp index 4f40ded28..095cbf2e7 100644 --- a/src/dialogs/qdialog.cpp +++ b/src/dialogs/qdialog.cpp @@ -1077,13 +1077,14 @@ void TQDialog::showExtension( bool showIt ) /*! \reimp */ TQSize TQDialog::sizeHint() const { - if ( d->extension ) + if ( d->extension ) { if ( d->orientation == Horizontal ) return TQSize( TQWidget::sizeHint().width(), TQMAX( TQWidget::sizeHint().height(),d->extension->sizeHint().height() ) ); else return TQSize( TQMAX( TQWidget::sizeHint().width(), d->extension->sizeHint().width() ), TQWidget::sizeHint().height() ); + } return TQWidget::sizeHint(); } @@ -1092,13 +1093,14 @@ TQSize TQDialog::sizeHint() const /*! \reimp */ TQSize TQDialog::minimumSizeHint() const { - if ( d->extension ) + if ( d->extension ) { if (d->orientation == Horizontal ) return TQSize( TQWidget::minimumSizeHint().width(), TQMAX( TQWidget::minimumSizeHint().height(), d->extension->minimumSizeHint().height() ) ); else return TQSize( TQMAX( TQWidget::minimumSizeHint().width(), d->extension->minimumSizeHint().width() ), TQWidget::minimumSizeHint().height() ); + } return TQWidget::minimumSizeHint(); } |