Message info
 
To:kde-commits@kde.org From:Jan Hambrecht Subject:[calligra] karbon/plugins/tools/filterEffectTool: hide buttons, they do nothing anyway Date:Thu, 5 Apr 2012 23:09:41 +0200 (CEST)
 

Git commit 8ad0dfb5eb95850fad19d9d2b9c162b03b745a9a by Jan Hambrecht.
Committed on 03/03/2012 at 14:44.
Pushed by jaham into branch 'master'.

hide buttons, they do nothing anyway

M +3 -0 karbon/plugins/tools/filterEffectTool/FilterEffectEditWidget.cpp

http://commits.kde.org/calligra/8ad0dfb5eb95850fad19d9d2b9c162b03b745a9a

diff --git a/karbon/plugins/tools/filterEffectTool/FilterEffectEditWidget.cpp b/karbon/plugins/tools/filterEffectTool/FilterEffectEditWidget.cpp
index 724c292..6d3480a 100644
--- a/karbon/plugins/tools/filterEffectTool/FilterEffectEditWidget.cpp
+++ b/karbon/plugins/tools/filterEffectTool/FilterEffectEditWidget.cpp
@@ -69,8 +69,11 @@ FilterEffectEditWidget::FilterEffectEditWidget(QWidget *parent)
addEffect->setToolTip(i18n("Add effect to current filter stack"));
connect(addEffect, SIGNAL(clicked()), this, SLOT(addSelectedEffect()));

+ // TODO: make these buttons do something useful
raiseEffect->setIcon(KIcon("arrow-up"));
+ raiseEffect->hide();
lowerEffect->setIcon(KIcon("arrow-down"));
+ lowerEffect->hide();

addPreset->setIcon(KIcon("list-add"));
addPreset->setToolTip(i18n("Add to filter presets"));