fix qcombobox code style
modify some code style Fixes: QTBUG-86793 Change-Id: I263bda1bd16dd34129ea5ae8948ad3eeaf833f3a Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
This commit is contained in:
parent
ca6ac03845
commit
75ca70288c
@ -848,7 +848,7 @@ void QComboBoxPrivateContainer::mousePressEvent(QMouseEvent *e)
|
||||
void QComboBoxPrivateContainer::mouseReleaseEvent(QMouseEvent *e)
|
||||
{
|
||||
Q_UNUSED(e);
|
||||
if (!blockMouseReleaseTimer.isActive()){
|
||||
if (!blockMouseReleaseTimer.isActive()) {
|
||||
combo->hidePopup();
|
||||
emit resetButton();
|
||||
}
|
||||
@ -2968,7 +2968,7 @@ void QComboBox::changeEvent(QEvent *e)
|
||||
d->updateLineEditGeometry();
|
||||
d->setLayoutItemMargins(QStyle::SE_ComboBoxLayoutItem);
|
||||
|
||||
if (e->type() == QEvent::MacSizeChange){
|
||||
if (e->type() == QEvent::MacSizeChange) {
|
||||
QPlatformTheme::Font f = QPlatformTheme::SystemFont;
|
||||
if (testAttribute(Qt::WA_MacSmallSize))
|
||||
f = QPlatformTheme::SmallFont;
|
||||
|
Loading…
x
Reference in New Issue
Block a user