summaryrefslogtreecommitdiffstats
path: root/src/gvcore/qxcfi.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-24 10:46:34 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-24 22:27:06 +0900
commit20b4653fd010811fd1bae426eea31ec6faf554b7 (patch)
tree4773748272817f8cb7c59330865d6747079fdf2c /src/gvcore/qxcfi.cpp
parentd4e69bd209ceeb1889b8c57008bf5ae4627b6813 (diff)
downloadgwenview-20b4653fd010811fd1bae426eea31ec6faf554b7.tar.gz
gwenview-20b4653fd010811fd1bae426eea31ec6faf554b7.zip
Replaced various '#define' with actual strings - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 357bdcb4722d4fbfe02cdd8685d76fd0be17259b)
Diffstat (limited to 'src/gvcore/qxcfi.cpp')
-rw-r--r--src/gvcore/qxcfi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gvcore/qxcfi.cpp b/src/gvcore/qxcfi.cpp
index c4bf928..a6f2194 100644
--- a/src/gvcore/qxcfi.cpp
+++ b/src/gvcore/qxcfi.cpp
@@ -28,7 +28,7 @@
// Change a TQRgb value's alpha only. (an optimization)
inline TQRgb tqRgba ( TQRgb rgb, int a )
{
- return ( ( a & 0xff ) << 24 | ( rgb & TQRGB_MASK ) );
+ return ( ( a & 0xff ) << 24 | ( rgb & TQT_RGB_MASK ) );
}