diff --git a/GUI/View/Tool/WidgetUtils.h b/GUI/View/Tool/WidgetUtils.h index cd6cd7fe273d38b537416d88c620b9f03695cfc7..d5dd31598c01dbb1463778ec8b1a6895afc6b05e 100644 --- a/GUI/View/Tool/WidgetUtils.h +++ b/GUI/View/Tool/WidgetUtils.h @@ -146,10 +146,6 @@ QLineEdit* createTextEdit(std::function<QString()> getter, std::function<void(QS //! "easyScrollable" flag is false. Otherwise it would be dangerous if the spin box is on a //! scrollable form - unintended and unnoticed changes would take place when just scrolling through //! the form. -//! -//! No connections to update the descriptor will be established! Therefore changes in the spin box -//! will *not* be notified to the descriptor. The additional (and optional) slot can be used to be -//! notified about a value change. QSpinBox* createIntSpinbox(std::function<int()> getter, std::function<void(int)> slot, const RealLimits& limits = RealLimits(), QString tooltip = "", QList<std::function<void()>>* updaters = nullptr,