summaryrefslogtreecommitdiffstats
path: root/ktouch/src/ktouchslideline.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ktouch/src/ktouchslideline.cpp')
-rw-r--r--ktouch/src/ktouchslideline.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ktouch/src/ktouchslideline.cpp b/ktouch/src/ktouchslideline.cpp
index d7eff3fd..5ed89201 100644
--- a/ktouch/src/ktouchslideline.cpp
+++ b/ktouch/src/ktouchslideline.cpp
@@ -411,7 +411,7 @@ void KTouchSlideLine::updateSlidingLines() {
// draw the teacher pixmap text
TQPainter painter;
- painter.begin (TQT_TQPAINTDEVICE(m_teacherPixmap), this);
+ painter.begin (m_teacherPixmap, this);
painter.setFont( m_font );
TQColor col_tt = Prefs::commonTypingLineColors() ?
@@ -532,7 +532,7 @@ void KTouchSlideLine::updateStudentLine() {
// now let's draw the students pixmap
TQPainter painter;
- painter.begin (TQT_TQPAINTDEVICE(m_studentPixmap), this);
+ painter.begin (m_studentPixmap, this);
if (Prefs::colorOnError()) {
// draw the student line depending on the colour settings
if (error) {