Commit 8cf4cf81 authored by Boudewijn Rempt's avatar Boudewijn Rempt

connect the brush option slider actions to a slot

parent 9374485d
......@@ -195,10 +195,12 @@ KisPaintopBox::KisPaintopBox(KisView2 * view, QWidget *parent, const char * name
action = new KAction(i18n("Brush option slider 1"), this);
view->actionCollection()->addAction("brushslider1", action);
connect(action, SIGNAL(triggered()), m_sliderChooser[0], SLOT(showPopupWidget()));
action = new KAction(i18n("Brush option slider 2"), this);
view->actionCollection()->addAction("brushslider2", action);
connect(action, SIGNAL(triggered()), m_sliderChooser[1], SLOT(showPopupWidget()));
QWidget* mirrorActions = new QWidget(this);
QHBoxLayout* mirrorLayout = new QHBoxLayout(mirrorActions);
......@@ -75,7 +75,8 @@ public:
TWidget* getWidget(const QString& id) const {
return dynamic_cast<TWidget*>(getWidget(id));
public slots:
void showPopupWidget();
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