Fixed unused function warning

This commit is contained in:
thunder2 2022-01-03 00:38:41 +01:00
parent 3dfe4e1288
commit 088d6f63f0

View File

@ -44,6 +44,7 @@
#include "util/misc.h" #include "util/misc.h"
#include "util/qtthreadsutils.h" #include "util/qtthreadsutils.h"
#ifdef TODO
static QColor colorScale(float f) static QColor colorScale(float f)
{ {
if(f == 0) if(f == 0)
@ -51,6 +52,7 @@ static QColor colorScale(float f)
else else
return QColor::fromHsv((int)((1.0-f)*280),200,255) ; return QColor::fromHsv((int)((1.0-f)*280),200,255) ;
} }
#endif
GxsIdStatistics::GxsIdStatistics(QWidget *parent) GxsIdStatistics::GxsIdStatistics(QWidget *parent)
: RsAutoUpdatePage(4000,parent) : RsAutoUpdatePage(4000,parent)