summaryrefslogtreecommitdiff
path: root/src/colortable.h
diff options
context:
space:
mode:
authorMikaƫl Capelle <capelle.mikael@gmail.com>2023-07-09 17:36:03 +0200
committerGitHub <noreply@github.com>2023-07-09 17:36:03 +0200
commitef94aee28464039672b277243a0181ae93550d6c (patch)
tree0575a68af5f154e9d6d0738edbaefb16a11d6f5c /src/colortable.h
parent7d6cb8528d20e36a4cee822263865ee2f7f32481 (diff)
parent3de050e9c03e553f7ae3f780f6bd080a30ae123e (diff)
Merge pull request #1839 from Holt59/ci/initial-gh-action-for-build
Clang-Format + Github Workflow
Diffstat (limited to 'src/colortable.h')
-rw-r--r--src/colortable.h10
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