fix qcombobox code style

In code style, it shouldn't look like this

Change-Id: I615f3a6ca1b4f33e0693a4e272d5703d9285a8a8
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
Wang Peng 2020-07-17 15:04:48 +08:00
parent fc1a7efb30
commit fd0473f489

View File

@ -1361,7 +1361,7 @@ void QComboBoxPrivate::_q_returnPressed()
break;
case QComboBox::InsertAlphabetically:
index = 0;
for (int i=0; i< q->count(); i++, index++ ) {
for (int i = 0; i < q->count(); ++i, ++index) {
if (text.toLower() < q->itemText(i).toLower())
break;
}