MoodbarRenderer: Remove unused kNumHues
This commit is contained in:
@@ -32,8 +32,6 @@
|
|||||||
|
|
||||||
#include "moodbarrenderer.h"
|
#include "moodbarrenderer.h"
|
||||||
|
|
||||||
const int MoodbarRenderer::kNumHues = 12;
|
|
||||||
|
|
||||||
ColorVector MoodbarRenderer::Colors(const QByteArray &data, const MoodbarStyle style, const QPalette &palette) {
|
ColorVector MoodbarRenderer::Colors(const QByteArray &data, const MoodbarStyle style, const QPalette &palette) {
|
||||||
|
|
||||||
const int samples = static_cast<int>(data.size() / 3);
|
const int samples = static_cast<int>(data.size() / 3);
|
||||||
|
|||||||
@@ -45,8 +45,6 @@ class MoodbarRenderer {
|
|||||||
StyleCount
|
StyleCount
|
||||||
};
|
};
|
||||||
|
|
||||||
static const int kNumHues;
|
|
||||||
|
|
||||||
static QString StyleName(const MoodbarStyle style);
|
static QString StyleName(const MoodbarStyle style);
|
||||||
|
|
||||||
static ColorVector Colors(const QByteArray &data, const MoodbarStyle style, const QPalette &palette);
|
static ColorVector Colors(const QByteArray &data, const MoodbarStyle style, const QPalette &palette);
|
||||||
|
|||||||
Reference in New Issue
Block a user