mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 10:22:48 +00:00
plasma: remove unused qClamp() function
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
39ea2ed450
commit
c9e7213de4
1 changed files with 0 additions and 12 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue