summaryrefslogtreecommitdiffstats
path: root/src/gui/rulers/LoopRuler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/rulers/LoopRuler.cpp')
-rw-r--r--src/gui/rulers/LoopRuler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/rulers/LoopRuler.cpp b/src/gui/rulers/LoopRuler.cpp
index 3a3ad97..b8b45fe 100644
--- a/src/gui/rulers/LoopRuler.cpp
+++ b/src/gui/rulers/LoopRuler.cpp
@@ -103,7 +103,7 @@ void LoopRuler::scrollHoriz(int x)
{
if (getHScaleFactor() != 1.0) {
m_currentXOffset = static_cast<int>( -x / getHScaleFactor());
- tqrepaint();
+ repaint();
return;
}
@@ -118,10 +118,10 @@ void LoopRuler::scrollHoriz(int x)
if (dx > 0) { // moving right, so the existing stuff moves left
bitBlt(this, 0, 0, this, dx, 0, w - dx, h);
- tqrepaint(w - dx, 0, dx, h);
+ repaint(w - dx, 0, dx, h);
} else { // moving left, so the existing stuff moves right
bitBlt(this, -dx, 0, this, 0, 0, w + dx, h);
- tqrepaint(0, 0, -dx, h);
+ repaint(0, 0, -dx, h);
}
}