Commit e055052b authored by Yuri Chornoivan's avatar Yuri Chornoivan

Fix minor EBN issues

parent 1a1b67c5
......@@ -54,4 +54,4 @@ QColor ColourAverage::averageColour(QImage img) {
color.setHsv(color.hue(), color.saturation() / 4, color.value());
return color;
}
\ No newline at end of file
}
/***************************************************************************
* Copyright (C) 2019 Carson Black *
* Copyright (C) 2019 Carson Black <uhhadd@gmail.com> *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
......@@ -16,6 +16,7 @@
* Free Software Foundation, Inc., *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . *
***************************************************************************/
#pragma once
#include <QObject>
#include <QColor>
......@@ -27,4 +28,4 @@ class ColourAverage : public QObject
public:
explicit ColourAverage(QObject* parent = nullptr);
Q_INVOKABLE QColor averageColour(QImage img);
};
\ No newline at end of file
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment