summaryrefslogtreecommitdiffstats
path: root/src/ui/widget
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/widget')
-rw-r--r--src/ui/widget/tolerance-slider.cpp6
-rw-r--r--src/ui/widget/tolerance-slider.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/ui/widget/tolerance-slider.cpp b/src/ui/widget/tolerance-slider.cpp
index 88e6915ae..12127d06c 100644
--- a/src/ui/widget/tolerance-slider.cpp
+++ b/src/ui/widget/tolerance-slider.cpp
@@ -54,7 +54,7 @@ ToleranceSlider::~ToleranceSlider()
}
void
-ToleranceSlider::init (const Glib::ustring& label1, const Glib::ustring& label2, const Glib::ustring& tip, const Glib::ustring& key, Registry& wr)
+ToleranceSlider::init (const Glib::ustring& label1, const Glib::ustring& tip, const Glib::ustring& key, Registry& wr)
{
_hbox = new Gtk::HBox;
Gtk::Label *theLabel1 = manage (new Gtk::Label (label1));
@@ -66,8 +66,8 @@ ToleranceSlider::init (const Glib::ustring& label1, const Glib::ustring& label2,
_hscale->set_value_pos (Gtk::POS_RIGHT);
_hscale->set_size_request (100, -1);
_hbox->add (*_hscale);
- Gtk::Label *theLabel2 = manage (new Gtk::Label (label2));
- _hbox->add (*theLabel2);
+// Gtk::Label *theLabel2 = manage (new Gtk::Label (label2));
+// _hbox->add (*theLabel2);
_key = key;
_scale_changed_connection = _hscale->signal_value_changed().connect (sigc::mem_fun (*this, &ToleranceSlider::update));
_wr = ≀
diff --git a/src/ui/widget/tolerance-slider.h b/src/ui/widget/tolerance-slider.h
index 2eeacb403..92239265d 100644
--- a/src/ui/widget/tolerance-slider.h
+++ b/src/ui/widget/tolerance-slider.h
@@ -25,7 +25,7 @@ public:
ToleranceSlider();
~ToleranceSlider();
void init (const Glib::ustring& label1,
- const Glib::ustring& label2,
+// const Glib::ustring& label2,
const Glib::ustring& tip,
const Glib::ustring& key,
Registry& wr);