From 9d1a8d385798dc9bfe0cd7f3818846874d17574d Mon Sep 17 00:00:00 2001 From: Sami Merila Date: Fri, 25 Mar 2011 13:05:00 +0200 Subject: Symbian: QComboBox popup Listbox size is not adjusted Don't stretch the combobox menu across the minimum screen dimension, but respect the values given by the application. Task-number: QTBUG-12714 Reviewed-by: Dmitry Trofimov --- src/gui/widgets/qcombobox.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/gui/widgets/qcombobox.cpp b/src/gui/widgets/qcombobox.cpp index dbbf49a..59b9750 100644 --- a/src/gui/widgets/qcombobox.cpp +++ b/src/gui/widgets/qcombobox.cpp @@ -2453,12 +2453,7 @@ void QComboBox::showPopup() // available screen geometry.This may override the vertical position, but it is more // important to show as much as possible of the popup. const int height = !boundToScreen ? listRect.height() : qMin(listRect.height(), screen.height()); -#ifdef Q_WS_S60 - //popup needs to be stretched with screen minimum dimension - listRect.setHeight(qMin(screen.height(), screen.width())); -#else listRect.setHeight(height); -#endif if (boundToScreen) { if (listRect.top() < screen.top()) -- cgit v0.12