From 3272306484ee358ee00c1926d88439814e7276bc Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 5 Jan 2015 21:45:31 +0100 Subject: remove needless settings reload in dialogs Options handling was fixed to pass the same bundle to all consumers. There's no need to reload it explicitly anymore. --- ftnoir_protocol_mouse/ftnoir_protocol_mouse_dialog.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'ftnoir_protocol_mouse/ftnoir_protocol_mouse_dialog.cpp') diff --git a/ftnoir_protocol_mouse/ftnoir_protocol_mouse_dialog.cpp b/ftnoir_protocol_mouse/ftnoir_protocol_mouse_dialog.cpp index 3303e54c..f4ecaa48 100644 --- a/ftnoir_protocol_mouse/ftnoir_protocol_mouse_dialog.cpp +++ b/ftnoir_protocol_mouse/ftnoir_protocol_mouse_dialog.cpp @@ -25,7 +25,7 @@ #include "ftnoir_protocol_mouse.h" #include "opentrack/plugin-api.hpp" -MOUSEControls::MOUSEControls() : _proto(nullptr) +MOUSEControls::MOUSEControls() { ui.setupUi( this ); ui.cbxSelectMouse_X->addItem("None"); @@ -53,8 +53,6 @@ MOUSEControls::MOUSEControls() : _proto(nullptr) void MOUSEControls::doOK() { s.b->save(); - if (_proto) - _proto->reload(); this->close(); } -- cgit v1.2.3