┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/settings/serviceitemdelegate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/settings/serviceitemdelegate.cpp')
-rw-r--r--src/settings/serviceitemdelegate.cpp4
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);