diff options
Diffstat (limited to 'konversation/src/osd.cpp')
-rw-r--r-- | konversation/src/osd.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/konversation/src/osd.cpp b/konversation/src/osd.cpp index 4161eab..81787b0 100644 --- a/konversation/src/osd.cpp +++ b/konversation/src/osd.cpp @@ -79,7 +79,7 @@ void OSDWidget::renderOSDText( const TQString &txt ) // Start painting! TQPainter bufferPainter( &osdBuffer ); - TQPainter tqmaskPainter( &tqmask ); + TQPainter maskPainter( &tqmask ); // Draw backing rectangle const uint xround = (METRIC * 200) / textRect.width(); @@ -110,8 +110,8 @@ void OSDWidget::renderOSDText( const TQString &txt ) // Masking for transparency tqmask.fill( TQt::black ); - tqmaskPainter.setBrush( TQt::white ); - tqmaskPainter.drawRoundRect( textRect, xround, yround ); + maskPainter.setBrush( TQt::white ); + maskPainter.drawRoundRect( textRect, xround, yround ); setMask( tqmask ); //do last to reduce noticeable change when showing multiple OSDs in succession |