diff options
Diffstat (limited to 'src/combobutton.cpp')
-rwxr-xr-x | src/combobutton.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/combobutton.cpp b/src/combobutton.cpp index 9b71947..d36b49c 100755 --- a/src/combobutton.cpp +++ b/src/combobutton.cpp @@ -43,11 +43,11 @@ void ComboButton::balanceSize() int width; if( m_sizeMode == Max ) - width = m_box->tqsizeHint().width()-17; + width = m_box->sizeHint().width()-17; else - width = m_button->tqsizeHint().width(); + width = m_button->sizeHint().width(); - int height = ( m_box->tqsizeHint().height() > m_button->tqsizeHint().height() ) ? m_box->tqsizeHint().height() : m_button->tqsizeHint().height(); + int height = ( m_box->sizeHint().height() > m_button->sizeHint().height() ) ? m_box->sizeHint().height() : m_button->sizeHint().height(); m_box->setFixedSize( width+17, height+m_increaseHeight ); m_button->setFixedSize( width, height+m_increaseHeight ); |