Fix minor EBN issues

This commit is contained in:
Yuri Chornoivan 2020-03-15 09:28:29 +02:00
parent 1a1b67c548
commit e055052bf3
2 changed files with 4 additions and 3 deletions

View file

@ -54,4 +54,4 @@ QColor ColourAverage::averageColour(QImage img) {
color.setHsv(color.hue(), color.saturation() / 4, color.value());
return color;
}
}

View file

@ -1,5 +1,5 @@
/***************************************************************************
* 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);
};
};