diff --git a/slsDetectorGui/forms/form_tab_advanced.ui b/slsDetectorGui/forms/form_tab_advanced.ui
index 526a372d0..10b33d8ff 100755
--- a/slsDetectorGui/forms/form_tab_advanced.ui
+++ b/slsDetectorGui/forms/form_tab_advanced.ui
@@ -413,7 +413,7 @@
-
-
+
0
@@ -759,7 +759,7 @@
-
-
+
0
diff --git a/slsDetectorGui/include/qDefs.h b/slsDetectorGui/include/qDefs.h
index 580d7af53..77b17d5f7 100755
--- a/slsDetectorGui/include/qDefs.h
+++ b/slsDetectorGui/include/qDefs.h
@@ -207,80 +207,4 @@ class qDefs : public QWidget {
return Message(qDefs::WARNING, message + std::string("\nCaught exception:\n") + exceptionMessage, source);
}
- /**
- * Wrap around to ignore non critical exceptions
- */
- template struct NonDeduced { using type = CT; };
-
- // only executing multiSlsDetector function
- template
- static void IgnoreNonCriticalExceptions(multiSlsDetector* det,
- const std::string message, const std::string source,
- RT (multiSlsDetector::*somefunc)(CT...),
- typename NonDeduced::type... Args) {
- try {
- ((det->*somefunc)(Args...));
- }
- // catch them here as they are not critical
- catch (const sls::NonCriticalError &e) {
- ExceptionMessage(message, e.what(), source);
- }
- };
-
- // executing multiSlsDetector funtion and using return value to set QWidget function
- template
- static void IgnoreNonCriticalExceptions(multiSlsDetector* det,
- const std::string message, const std::string source,
- W* wid, void (W::*someQfunc)(WRT),
- RT (multiSlsDetector::*somefunc)(CT...),
- typename NonDeduced::type... Args) {
- try {
- auto val = ((det->*somefunc)(Args...));
- (wid->*someQfunc)(static_cast