diff options
| author | Elvis Angelaccio <[email protected]> | 2019-11-09 22:06:39 +0100 |
|---|---|---|
| committer | Elvis Angelaccio <[email protected]> | 2019-11-09 22:09:16 +0100 |
| commit | 16a3aea6a629a91aab937be5c111b64b3ed6cf86 (patch) | |
| tree | 3bd91330126e2fc5f053fc75bd8c9436d35bd214 /src/settings/serviceitemdelegate.cpp | |
| parent | 3512293b9840dd00c204d9b72ddd28ad26fff9ff (diff) | |
Remove unnecessary semicolons after Q_UNUSED
GIT_SILENT
Diffstat (limited to 'src/settings/serviceitemdelegate.cpp')
| -rw-r--r-- | src/settings/serviceitemdelegate.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/settings/serviceitemdelegate.cpp b/src/settings/serviceitemdelegate.cpp index 0f2030484..fa0b306c1 100644 --- a/src/settings/serviceitemdelegate.cpp +++ b/src/settings/serviceitemdelegate.cpp @@ -38,7 +38,7 @@ ServiceItemDelegate::~ServiceItemDelegate() QSize ServiceItemDelegate::sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const { - Q_UNUSED(index); + Q_UNUSED(index) const QStyle *style = itemView()->style(); const int buttonHeight = style->pixelMetric(QStyle::PM_ButtonMargin) * 2 + @@ -50,7 +50,7 @@ QSize ServiceItemDelegate::sizeHint(const QStyleOptionViewItem &option, void ServiceItemDelegate::paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const { - Q_UNUSED(index); + Q_UNUSED(index) painter->save(); itemView()->style()->drawPrimitive(QStyle::PE_PanelItemViewItem, &option, painter); |
