summaryrefslogtreecommitdiffstats
path: root/chalk/ui/kis_autogradient.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chalk/ui/kis_autogradient.cc')
-rw-r--r--chalk/ui/kis_autogradient.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chalk/ui/kis_autogradient.cc b/chalk/ui/kis_autogradient.cc
index bd5b80fb..318bf305 100644
--- a/chalk/ui/kis_autogradient.cc
+++ b/chalk/ui/kis_autogradient.cc
@@ -113,7 +113,7 @@ void KisAutogradient::slotChangedRightColor( const TQColor& color)
KisGradientSegment* segment = gradientSlider->selectedSegment();
if(segment)
segment->setEndColor( Color( color, segment->endColor().alpha() ) );
- gradientSlider->repaint();
+ gradientSlider->tqrepaint();
paramChanged();
}
@@ -123,7 +123,7 @@ void KisAutogradient::slotChangedLeftOpacity( int value )
KisGradientSegment* segment = gradientSlider->selectedSegment();
if(segment)
segment->setStartColor( Color( segment->startColor().color(), (double)value / 100 ) );
- gradientSlider->repaint(false);
+ gradientSlider->tqrepaint(false);
paramChanged();
}
@@ -133,7 +133,7 @@ void KisAutogradient::slotChangedRightOpacity( int value )
KisGradientSegment* segment = gradientSlider->selectedSegment();
if(segment)
segment->setEndColor( Color( segment->endColor().color(), (double)value / 100 ) );
- gradientSlider->repaint(false);
+ gradientSlider->tqrepaint(false);
paramChanged();
}