OSDN Git Service
(root)
/
kde
/
Katie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a07bc0f
)
remove now unused qt_intensity function
author
Ivailo Monev
<xakepa10@laimg.moc>
Wed, 26 Jun 2019 12:00:46 +0000
(12:00 +0000)
committer
Ivailo Monev
<xakepa10@laimg.moc>
Wed, 26 Jun 2019 12:00:46 +0000
(12:00 +0000)
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
src/gui/styles/qcommonstyle.cpp
patch
|
blob
|
history
diff --git
a/src/gui/styles/qcommonstyle.cpp
b/src/gui/styles/qcommonstyle.cpp
index
ecf48a9
..
b64a66b
100644
(file)
--- a/
src/gui/styles/qcommonstyle.cpp
+++ b/
src/gui/styles/qcommonstyle.cpp
@@
-5643,12
+5643,6
@@
QIcon QCommonStyle::standardIcon(StandardPixmap standardicon, const QStyleOption
return icon;
}
-static inline uint qt_intensity(uint r, uint g, uint b)
-{
- // 30% red, 59% green, 11% blue
- return (77 * r + 150 * g + 28 * b) / 255;
-}
-
// in qpixmapfilter.cpp
extern Q_GUI_EXPORT void qt_grayscale(const QImage &image, QImage &dest, const QRect& rect);