diff options
author | Lars Schmertmann <Lars.Schmertmann@governikus.de> | 2020-07-02 16:26:10 +0200 |
---|---|---|
committer | Lars Schmertmann <Lars.Schmertmann@governikus.de> | 2020-07-03 11:14:11 +0200 |
commit | fdc5e91dcf6a2ee1b16a572a2266c77608e80ade (patch) | |
tree | 29b9c616587a31a85e8eab76e67c0fa01383bc63 /src/widgets | |
parent | 2eea8e075460f2e4d88a01610d1b0aa107b5c5f1 (diff) |
Only use one macro per line
Also add a ; where it is missing.
Task-number: QTBUG-82978
Change-Id: Ic5d2a07363c25ab641d234baca89bc62238458cb
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/widgets')
-rw-r--r-- | src/widgets/itemviews/qtableview.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/widgets/itemviews/qtableview.cpp b/src/widgets/itemviews/qtableview.cpp index f8ff319516..4afcc3ef6a 100644 --- a/src/widgets/itemviews/qtableview.cpp +++ b/src/widgets/itemviews/qtableview.cpp @@ -123,7 +123,8 @@ void QSpanCollection::updateSpan(QSpanCollection::Span *span, int old_height) while (-it_y.key() <= span->top() + old_height -1) { if (-it_y.key() > span->bottom()) { int removed = (*it_y).remove(-span->left()); - Q_ASSERT(removed == 1); Q_UNUSED(removed); + Q_ASSERT(removed == 1); + Q_UNUSED(removed); if (it_y->isEmpty()) { it_y = index.erase(it_y); } |