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/colortable.h | |
| parent | 86bb01ba9eac879d3685c439ac9da0028bc4bc80 (diff) | |
Apply clang-format.
Diffstat (limited to 'src/colortable.h')
| -rw-r--r-- | src/colortable.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/colortable.h b/src/colortable.h index 039b6024..075171c3 100644 --- a/src/colortable.h +++ b/src/colortable.h @@ -10,7 +10,7 @@ class Settings; class ColorTable : public QTableWidget { public: - ColorTable(QWidget* parent=nullptr); + ColorTable(QWidget* parent = nullptr); // adds colors to the table from the settings // @@ -28,12 +28,10 @@ public: private: Settings* m_settings; - void addColor( - const QString& text, const QColor& defaultColor, - std::function<QColor ()> get, - std::function<void (const QColor&)> commit); + void addColor(const QString& text, const QColor& defaultColor, + std::function<QColor()> get, std::function<void(const QColor&)> commit); void onColorActivated(); }; -#endif // COLORTABLE_H +#endif // COLORTABLE_H |
