From 16a3aea6a629a91aab937be5c111b64b3ed6cf86 Mon Sep 17 00:00:00 2001 From: Elvis Angelaccio Date: Sat, 9 Nov 2019 22:06:39 +0100 Subject: Remove unnecessary semicolons after Q_UNUSED GIT_SILENT --- src/settings/serviceitemdelegate.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/settings/serviceitemdelegate.cpp') 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); -- cgit v1.3