diff options
Diffstat (limited to 'src/kcolorcombo2.cpp')
-rw-r--r-- | src/kcolorcombo2.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kcolorcombo2.cpp b/src/kcolorcombo2.cpp index f55f7af..eb0bbed 100644 --- a/src/kcolorcombo2.cpp +++ b/src/kcolorcombo2.cpp @@ -634,13 +634,13 @@ void KColorCombo2::popup() TQPoint popupPoint = mapToGlobal(TQPoint(0, 0)); - int popupHeight = m_popup->tqsizeHint().height(); + int popupHeight = m_popup->sizeHint().height(); if (popupPoint.y() + height() + popupHeight > desk.bottom()) popupPoint.setY(popupPoint.y() - popupHeight); else popupPoint.setY(popupPoint.y() + height()); - int popupWidth = m_popup->tqsizeHint().width(); + int popupWidth = m_popup->sizeHint().width(); if (popupPoint.x() + popupWidth > desk.right()) popupPoint.setX(desk.right() - popupWidth); |