summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/notation/NotePixmapFactory.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-03 00:36:01 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-04 14:06:17 +0900
commitd226182192d460ae262962fe9d79604037bf9705 (patch)
tree6add2b6f3bde30b1d9a2822e4d52ae088f4ca5dd /src/gui/editors/notation/NotePixmapFactory.cpp
parentec073d6411b2ddf044ffafd07770affa052b7871 (diff)
downloadrosegarden-d2261821.tar.gz
rosegarden-d2261821.zip
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 217eb15dfed1b38303754b8cab53d77d749f22b9)
Diffstat (limited to 'src/gui/editors/notation/NotePixmapFactory.cpp')
-rw-r--r--src/gui/editors/notation/NotePixmapFactory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/editors/notation/NotePixmapFactory.cpp b/src/gui/editors/notation/NotePixmapFactory.cpp
index 9268121..47ded9b 100644
--- a/src/gui/editors/notation/NotePixmapFactory.cpp
+++ b/src/gui/editors/notation/NotePixmapFactory.cpp
@@ -1255,7 +1255,7 @@ NotePixmapFactory::drawFlags(int flagCount,
y,
*flagChar.getPixmap());
- m_p->begin(TQT_TQPAINTDEVICE(m_generatedPixmap), TQT_TQPAINTDEVICE(m_generatedMask));
+ m_p->begin(m_generatedPixmap, m_generatedMask);
} else {
@@ -3446,7 +3446,7 @@ NotePixmapFactory::createPixmapAndMask(int width, int height,
m_generatedMask->fill(TQt::color0);
// initiate painting
- m_p->begin(TQT_TQPAINTDEVICE(m_generatedPixmap), TQT_TQPAINTDEVICE(m_generatedMask));
+ m_p->begin(m_generatedPixmap, m_generatedMask);
m_p->painter().setPen(TQt::black);
m_p->painter().setBrush(TQt::black);