diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2022-05-17 11:47:01 +0200 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2023-07-09 17:20:40 +0200 |
| commit | d13f6bb870cdda71257f665367be8ef9fca86255 (patch) | |
| tree | 52e214718478f1e52856572f5aa1a2ac58537f9f /src/copyeventfilter.h | |
| parent | 86bb01ba9eac879d3685c439ac9da0028bc4bc80 (diff) | |
Apply clang-format.
Diffstat (limited to 'src/copyeventfilter.h')
| -rw-r--r-- | src/copyeventfilter.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/copyeventfilter.h b/src/copyeventfilter.h index 141ddae1..0ad51584 100644 --- a/src/copyeventfilter.h +++ b/src/copyeventfilter.h @@ -22,9 +22,9 @@ class CopyEventFilter : public QObject Q_OBJECT public: - CopyEventFilter(QAbstractItemView* view, int column = 0, int role = Qt::DisplayRole); - CopyEventFilter(QAbstractItemView* view, std::function<QString(const QModelIndex&)> format); + CopyEventFilter(QAbstractItemView* view, + std::function<QString(const QModelIndex&)> format); // copy the selection of the view associated with this // event filter into the clipboard @@ -34,10 +34,8 @@ public: bool eventFilter(QObject* sender, QEvent* event) override; private: - QAbstractItemView* m_view; std::function<QString(const QModelIndex&)> m_format; - }; #endif |
