]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/settings/serviceitemdelegate.cpp
Remove unnecessary semicolons after Q_UNUSED
[dolphin.git] / src / settings / serviceitemdelegate.cpp
index 0f20304845fca12ec84ce51dcdc35575370a3f3b..fa0b306c1d600ac38fecef4943518ea99af9b31e 100644 (file)
@@ -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);