summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/widgets/setupitem.cpp4
-rw-r--r--src/gui/widgets/setupitem.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/setupitem.cpp b/src/gui/widgets/setupitem.cpp
index 110bf895c..ff1370c0b 100644
--- a/src/gui/widgets/setupitem.cpp
+++ b/src/gui/widgets/setupitem.cpp
@@ -163,10 +163,10 @@ void SetupItem::action(const ActionEvent &event)
return;
if (event.getId() == mWidget->getActionEventId())
- action();
+ doAction();
}
-void SetupItem::action()
+void SetupItem::doAction()
{
fromWidget();
}
diff --git a/src/gui/widgets/setupitem.h b/src/gui/widgets/setupitem.h
index cebf061ea..f5657c48e 100644
--- a/src/gui/widgets/setupitem.h
+++ b/src/gui/widgets/setupitem.h
@@ -78,7 +78,7 @@ class SetupItem notfinal : public ActionListener,
virtual void action(const ActionEvent &event) override;
- virtual void action();
+ virtual void doAction();
virtual void apply(const std::string &eventName);