diff options
author | Wang Peng <wang_8470@163.com> | 2020-07-17 15:04:48 +0800 |
---|---|---|
committer | Wang Peng <wang_8470@163.com> | 2020-07-25 02:02:10 +0800 |
commit | fd0473f489a570eedbd61b69c2d201fe92f6c05e (patch) | |
tree | 9f7aefd4f92e7c00fbf5b4fae5a303be2cb0338a /src/widgets | |
parent | fc1a7efb30f65a58d6e7f2a14b67f83f5af39f4f (diff) |
fix qcombobox code style
In code style, it shouldn't look like this
Change-Id: I615f3a6ca1b4f33e0693a4e272d5703d9285a8a8
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/widgets')
-rw-r--r-- | src/widgets/widgets/qcombobox.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/widgets/qcombobox.cpp b/src/widgets/widgets/qcombobox.cpp index abb1fd7572..27928a6d01 100644 --- a/src/widgets/widgets/qcombobox.cpp +++ b/src/widgets/widgets/qcombobox.cpp @@ -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; } |