mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
Fix minor EBN issues
This commit is contained in:
parent
1a1b67c548
commit
e055052bf3
2 changed files with 4 additions and 3 deletions
|
|
@ -54,4 +54,4 @@ QColor ColourAverage::averageColour(QImage img) {
|
|||
color.setHsv(color.hue(), color.saturation() / 4, color.value());
|
||||
|
||||
return color;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue