[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/office/kmymoney/kmymoney2/widgets
From: Cristian OneČ› <onet.cristian () gmail ! com>
Date: 2009-08-13 18:29:02
Message-ID: 1250188142.266166.28283.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1010989 by conet:
Cliking on the arrow of an editable KMyMoneyCombo will now open the completion list \
as it should.
M +2 -2 kmymoneycombo.cpp
--- trunk/playground/office/kmymoney/kmymoney2/widgets/kmymoneycombo.cpp \
#1010988:1010989 @@ -161,7 +161,7 @@
if(e->button() != Qt::LeftButton)
return;
- if(((!isEditable() || isInArrowArea(mapToGlobal(e->pos()))) && \
selector()->itemList().count()) && !m_completion->isVisible()) { + \
if(((!isEditable() || isInArrowArea(e->globalPos())) && \
selector()->itemList().count()) && !m_completion->isVisible()) { \
m_completion->setVisible(true); }
@@ -180,7 +180,7 @@
{
QStyleOptionComboBox opt;
initStyleOption(&opt);
- QRect arrowRect = style()->subControlRect(QStyle::CC_ComboBox, &opt, \
QStyle::SC_ComboBoxEditField, this); + QRect arrowRect = \
style()->subControlRect(QStyle::CC_ComboBox, &opt, QStyle::SC_ComboBoxArrow, this);
// Correction for motif style, where arrow is smaller
// and thus has a rect that doesn't fit the button.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic