summaryrefslogtreecommitdiffstats
path: root/src/mergeresultwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mergeresultwindow.cpp')
-rw-r--r--src/mergeresultwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mergeresultwindow.cpp b/src/mergeresultwindow.cpp
index 646e700..1b1639d 100644
--- a/src/mergeresultwindow.cpp
+++ b/src/mergeresultwindow.cpp
@@ -1761,7 +1761,7 @@ void MergeResultWindow::paintEvent( TQPaintEvent* )
if ( size() != m_pixmap.size() )
m_pixmap.resize(size());
- MyPainter p(TQT_TQPAINTDEVICE(&m_pixmap), m_pOptionDialog->m_bRightToLeftLanguage, width(), fontWidth);
+ MyPainter p(&m_pixmap, m_pOptionDialog->m_bRightToLeftLanguage, width(), fontWidth);
p.setFont( font() );
p.TQPainter::fillRect( rect(), m_pOptionDialog->m_bgColor );
@@ -1843,7 +1843,7 @@ void MergeResultWindow::paintEvent( TQPaintEvent* )
if ( m_bCursorOn && hasFocus() && m_cursorYPos>=m_firstLine )
{
- MyPainter painter(TQT_TQPAINTDEVICE(this), m_pOptionDialog->m_bRightToLeftLanguage, width(), fontWidth);
+ MyPainter painter(this, m_pOptionDialog->m_bRightToLeftLanguage, width(), fontWidth);
int topLineYOffset = 0;
int xOffset = fontWidth * leftInfoWidth;