From 3d23a68ae40b36d1188d16d11107e59875370498 Mon Sep 17 00:00:00 2001
From: Gemma Guest <gemma.guest@stfc.ac.uk>
Date: Thu, 19 Sep 2019 11:13:53 +0100
Subject: [PATCH] Remove Options Dialog from the menu

This is not implemented yet so hide it from the interface. Note that the
supporting notification in the presenter and outline unit test are left
in because this functionality will be added in a future PR.

Re #26533
---
 .../ISISReflectometry/GUI/MainWindow/MainWindowWidget.ui    | 6 ------
 .../ISISReflectometry/GUI/MainWindow/QtMainWindowView.cpp   | 2 --
 2 files changed, 8 deletions(-)

diff --git a/qt/scientific_interfaces/ISISReflectometry/GUI/MainWindow/MainWindowWidget.ui b/qt/scientific_interfaces/ISISReflectometry/GUI/MainWindow/MainWindowWidget.ui
index 2f82e5a5491..b8572eb1692 100644
--- a/qt/scientific_interfaces/ISISReflectometry/GUI/MainWindow/MainWindowWidget.ui
+++ b/qt/scientific_interfaces/ISISReflectometry/GUI/MainWindow/MainWindowWidget.ui
@@ -80,7 +80,6 @@
     <property name="title">
      <string>&amp;Tools</string>
     </property>
-    <addaction name="showOptions"/>
     <addaction name="showSlitCalculator"/>
    </widget>
    <addaction name="menuBatch"/>
@@ -96,11 +95,6 @@
     <string>&amp;Load</string>
    </property>
   </action>
-  <action name="showOptions">
-   <property name="text">
-    <string>&amp;Options</string>
-   </property>
-  </action>
   <action name="showSlitCalculator">
    <property name="text">
     <string>&amp;Slit Calculator</string>
diff --git a/qt/scientific_interfaces/ISISReflectometry/GUI/MainWindow/QtMainWindowView.cpp b/qt/scientific_interfaces/ISISReflectometry/GUI/MainWindow/QtMainWindowView.cpp
index 71794d9eeb2..80f1214c950 100644
--- a/qt/scientific_interfaces/ISISReflectometry/GUI/MainWindow/QtMainWindowView.cpp
+++ b/qt/scientific_interfaces/ISISReflectometry/GUI/MainWindow/QtMainWindowView.cpp
@@ -66,8 +66,6 @@ void QtMainWindowView::initLayout() {
           SLOT(onLoadBatchRequested(bool)));
   connect(m_ui.saveBatch, SIGNAL(triggered(bool)), this,
           SLOT(onSaveBatchRequested(bool)));
-  connect(m_ui.showOptions, SIGNAL(triggered(bool)), this,
-          SLOT(onShowOptionsRequested(bool)));
   connect(m_ui.showSlitCalculator, SIGNAL(triggered(bool)), this,
           SLOT(onShowSlitCalculatorRequested(bool)));
 
-- 
GitLab