summaryrefslogtreecommitdiff
path: root/src/noeditdelegate.h
diff options
context:
space:
mode:
authorMikaël Capelle <capelle.mikael@gmail.com>2022-05-17 11:47:01 +0200
committerMikaël Capelle <capelle.mikael@gmail.com>2023-07-09 17:20:40 +0200
commitd13f6bb870cdda71257f665367be8ef9fca86255 (patch)
tree52e214718478f1e52856572f5aa1a2ac58537f9f /src/noeditdelegate.h
parent86bb01ba9eac879d3685c439ac9da0028bc4bc80 (diff)
Apply clang-format.
Diffstat (limited to 'src/noeditdelegate.h')
-rw-r--r--src/noeditdelegate.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/noeditdelegate.h b/src/noeditdelegate.h
index ff9baa46..88d48aa4 100644
--- a/src/noeditdelegate.h
+++ b/src/noeditdelegate.h
@@ -3,10 +3,12 @@
#include <QStyledItemDelegate>
-class NoEditDelegate: public QStyledItemDelegate {
+class NoEditDelegate : public QStyledItemDelegate
+{
public:
- NoEditDelegate(QObject *parent = nullptr);
- virtual QWidget *createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const;
+ NoEditDelegate(QObject* parent = nullptr);
+ virtual QWidget* createEditor(QWidget* parent, const QStyleOptionViewItem& option,
+ const QModelIndex& index) const;
};
-#endif // NOEDITDELEGATE_H
+#endif // NOEDITDELEGATE_H