-rw-r--r-- | noncore/styles/liquid/liquid.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/noncore/styles/liquid/liquid.cpp b/noncore/styles/liquid/liquid.cpp index e6d8310..4a65952 100644 --- a/noncore/styles/liquid/liquid.cpp +++ b/noncore/styles/liquid/liquid.cpp @@ -37,2 +37,3 @@ #include <qlineedit.h> +#include <qlistbox.h> @@ -43,2 +44,3 @@ + typedef void (QStyle::*QDrawMenuBarItemImpl) (QPainter *, int, int, int, int, QMenuItem *, @@ -1410,3 +1412,4 @@ void LiquidStyle::drawComboButton(QPainter *painter, int x, int y, int w, int h, ((QWidget *) painter-> device ( ))-> inherits ( "QComboBox" ) && - ( qApp-> focusWidget ( ) == ((QComboBox *) painter->device())->lineEdit ( )) + ( qApp-> focusWidget ( ) == ((QComboBox *) painter->device())->lineEdit ( ) || + qApp-> focusWidget ( ) == ((QComboBox *) painter->device())->listBox ( )) ) |