diff options
Diffstat (limited to 'src/modules/dcc/voice.cpp')
-rw-r--r-- | src/modules/dcc/voice.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/dcc/voice.cpp b/src/modules/dcc/voice.cpp index e9d8a2a6..deec4452 100644 --- a/src/modules/dcc/voice.cpp +++ b/src/modules/dcc/voice.cpp @@ -886,16 +886,16 @@ void KviDccVoice::updateInfo() void KviDccVoice::resizeEvent(TQResizeEvent *e) { - int hght2 = m_pHBox->tqsizeHint().height(); + int hght2 = m_pHBox->sizeHint().height(); m_pHBox->setGeometry(0,0,width(),hght2); m_pSplitter->setGeometry(0,hght2,width(),height() - hght2); } -TQSize KviDccVoice::tqsizeHint() const +TQSize KviDccVoice::sizeHint() const { - int w = m_pIrcView->tqsizeHint().width(); - int w2 = m_pHBox->tqsizeHint().width(); - TQSize ret(w > w2 ? w : w2, m_pIrcView->tqsizeHint().height() + m_pHBox->tqsizeHint().height()); + int w = m_pIrcView->sizeHint().width(); + int w2 = m_pHBox->sizeHint().width(); + TQSize ret(w > w2 ? w : w2, m_pIrcView->sizeHint().height() + m_pHBox->sizeHint().height()); return ret; } |