Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 739ab9b2 authored by Boudewijn Rempt's avatar Boudewijn Rempt

remove some stuff that was commented out without a comment why, and make a bit more silent

svn path=/trunk/koffice/; revision=940311
parent d3063088
......@@ -50,9 +50,7 @@ KisAutogradient::KisAutogradient(QWidget *parent, const char* name, const QStrin
connect(leftColorButton, SIGNAL(changed(const QColor&)), SLOT(slotChangedLeftColor(const QColor&)));
connect(rightColorButton, SIGNAL(changed(const QColor&)), SLOT(slotChangedRightColor(const QColor&)));
// intNumInputLeftOpacity->setRange( 0, 100, false);
connect(intNumInputLeftOpacity, SIGNAL(valueChanged(int)), SLOT(slotChangedLeftOpacity(int)));
// intNumInputRightOpacity->setRange( 0, 100, false);
connect(intNumInputRightOpacity, SIGNAL(valueChanged(int)), SLOT(slotChangedRightOpacity(int)));
......@@ -138,7 +136,6 @@ void KisAutogradient::slotChangedRightColor(const QColor& color)
void KisAutogradient::slotChangedLeftOpacity(int value)
dbgUI << value;
KoGradientSegment* segment = gradientSlider->selectedSegment();
if (segment) {
KoColor c(segment->startColor().toQColor(), segment->startColor().colorSpace());
......@@ -152,7 +149,6 @@ void KisAutogradient::slotChangedLeftOpacity(int value)
void KisAutogradient::slotChangedRightOpacity(int value)
dbgUI << value;
KoGradientSegment* segment = gradientSlider->selectedSegment();
if (segment) {
KoColor c(segment->endColor().toQColor(), segment->endColor().colorSpace());
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment