plasma: remove unused qClamp() function

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2023-05-22 03:23:55 +03:00
parent 39ea2ed450
commit c9e7213de4

View file

@ -139,16 +139,4 @@ static inline void blurcol(QImage &im, int col, int alpha)
}
}
template<class T>
inline const T &qClamp(const T &x, const T &low, const T &high)
{
if (x < low) {
return low;
} else if (x > high) {
return high;
} else {
return x;
}
}
#endif