summaryrefslogtreecommitdiff
path: root/src/widgets
diff options
context:
space:
mode:
authorJoni Poikelin <joni.poikelin@qt.io>2023-04-05 10:38:39 +0300
committerJoni Poikelin <joni.poikelin@qt.io>2023-04-05 18:59:22 +0300
commit588eab99d26783d5aa154f788c791a3addf60f95 (patch)
tree97be75621b49afcb7d68d17d43fd53af0544ee6f /src/widgets
parenta43f349f9c2259966e6d6e94d31dd64a1156b17b (diff)
downloadqtbase-588eab99d26783d5aa154f788c791a3addf60f95.tar.gz
Fix some extra semicolon warnings
Fixes: QTBUG-112648 Pick-to: 6.5 Change-Id: I71446459c7fd6018ecb4deb60a7b9b412c0972ba Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/itemviews/qtablewidget.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/widgets/itemviews/qtablewidget.h b/src/widgets/itemviews/qtablewidget.h
index c7545f13dd..8f4cb9a660 100644
--- a/src/widgets/itemviews/qtablewidget.h
+++ b/src/widgets/itemviews/qtablewidget.h
@@ -23,8 +23,10 @@ public:
friend bool operator==(const QTableWidgetSelectionRange &lhs,
const QTableWidgetSelectionRange &rhs) noexcept
- { return lhs.m_top == rhs.m_top && lhs.m_left == rhs.m_left
- && lhs.m_bottom == rhs.m_bottom && lhs.m_right == rhs.m_right; };
+ {
+ return lhs.m_top == rhs.m_top && lhs.m_left == rhs.m_left && lhs.m_bottom == rhs.m_bottom
+ && lhs.m_right == rhs.m_right;
+ }
friend bool operator!=(const QTableWidgetSelectionRange &lhs,
const QTableWidgetSelectionRange &rhs) noexcept
{ return !(lhs == rhs); }