diff options
| author | Dāvis Mosāns <[email protected]> | 2023-02-06 21:47:43 +0000 |
|---|---|---|
| committer | Dāvis Mosāns <[email protected]> | 2023-03-04 21:01:18 +0000 |
| commit | 05e003e41b619b84814ed6710c24d0ea1cb9d55b (patch) | |
| tree | fdfcf392e81e12f294252713302c58dd2fe124b9 /src/settings/serviceitemdelegate.cpp | |
| parent | 6600dc9bdc37db5507899f8576a49d57e76a7fa3 (diff) | |
Port to KF6 KWidgetItemDelegate
Diffstat (limited to 'src/settings/serviceitemdelegate.cpp')
| -rw-r--r-- | src/settings/serviceitemdelegate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settings/serviceitemdelegate.cpp b/src/settings/serviceitemdelegate.cpp index d8f446a37..d95ca7918 100644 --- a/src/settings/serviceitemdelegate.cpp +++ b/src/settings/serviceitemdelegate.cpp @@ -60,7 +60,7 @@ QList<QWidget *> ServiceItemDelegate::createItemWidgets(const QModelIndex &) con return {checkBox, configureButton}; } -void ServiceItemDelegate::updateItemWidgets(const QList<QWidget *> widgets, const QStyleOptionViewItem &option, const QPersistentModelIndex &index) const +void ServiceItemDelegate::updateItemWidgets(const QList<QWidget *> &widgets, const QStyleOptionViewItem &option, const QPersistentModelIndex &index) const { QCheckBox *checkBox = static_cast<QCheckBox *>(widgets[0]); QPushButton *configureButton = static_cast<QPushButton *>(widgets[1]); |
