From c30d2c2285d0ec7a417a993ff6539c27fc136e65 Mon Sep 17 00:00:00 2001 From: Thomas Frauendorfer Date: Mon, 12 May 2008 15:45:31 +0200 Subject: [PATCH] Fixed scrolling in Textbar --- src/TextBar.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/TextBar.cpp b/src/TextBar.cpp index d1fe63e..0d48b05 100644 --- a/src/TextBar.cpp +++ b/src/TextBar.cpp @@ -230,12 +230,12 @@ TextScroller::paintEvent (QPaintEvent *event) QPainter (paint); paint.begin (this); paint.drawPixmap (QRect (m_x2_off, 0, m_w - pad, m_h), - m_pixmap, - QRect (m_x_off, 0, m_w, m_h)); + m_pixmap, + QRect (m_x_off, 0, m_w - pad, m_h)); if (pad) { paint.drawPixmap (QRect (m_w - pad, 0, pad, m_h), - m_pixmap, - QRect (0, 0, pad, m_h)); + m_pixmap, + QRect (0, 0, pad, m_h)); } paint.end (); }