[PATCH] Remove unused menu "Filter"

Anton Lundin glance at acc.umu.se
Mon Jul 14 12:49:58 PDT 2014


The filter menu wasn't connected to anything other than a debug print.
This removes that menu.

Signed-off-by: Anton Lundin <glance at acc.umu.se>
---
 qt-ui/mainwindow.cpp | 10 ----------
 qt-ui/mainwindow.h   |  2 --
 qt-ui/mainwindow.ui  | 16 ----------------
 3 files changed, 28 deletions(-)

diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index e589344..fdad2ba 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -645,16 +645,6 @@ void MainWindow::on_actionFullScreen_triggered(bool checked)
 	}
 }
 
-void MainWindow::on_actionSelectEvents_triggered()
-{
-	qDebug("actionSelectEvents");
-}
-
-void MainWindow::on_actionInputPlan_triggered()
-{
-	qDebug("actionInputPlan");
-}
-
 void MainWindow::on_actionAboutSubsurface_triggered()
 {
 	SubsurfaceAbout dlg(this);
diff --git a/qt-ui/mainwindow.h b/qt-ui/mainwindow.h
index 3e7cad6..6b53bab 100644
--- a/qt-ui/mainwindow.h
+++ b/qt-ui/mainwindow.h
@@ -115,8 +115,6 @@ slots:
 	void on_actionFullScreen_triggered(bool checked);
 
 	/* other menu actions */
-	void on_actionSelectEvents_triggered();
-	void on_actionInputPlan_triggered();
 	void on_actionAboutSubsurface_triggered();
 	void on_actionUserManual_triggered();
 	void on_actionDivePlanner_triggered();
diff --git a/qt-ui/mainwindow.ui b/qt-ui/mainwindow.ui
index b2391fe..c124468 100644
--- a/qt-ui/mainwindow.ui
+++ b/qt-ui/mainwindow.ui
@@ -716,12 +716,6 @@ p, li { white-space: pre-wrap; }
     <addaction name="separator"/>
     <addaction name="actionFullScreen"/>
    </widget>
-   <widget class="QMenu" name="menuFilter">
-    <property name="title">
-     <string>Filter</string>
-    </property>
-    <addaction name="actionSelectEvents"/>
-   </widget>
    <widget class="QMenu" name="menuHelp">
     <property name="title">
      <string>&Help</string>
@@ -932,16 +926,6 @@ p, li { white-space: pre-wrap; }
     <string>Right</string>
    </property>
   </action>
-  <action name="actionSelectEvents">
-   <property name="text">
-    <string>&Select events</string>
-   </property>
-  </action>
-  <action name="actionInputPlan">
-   <property name="text">
-    <string>Input Plan</string>
-   </property>
-  </action>
   <action name="actionAboutSubsurface">
    <property name="text">
     <string>&About Subsurface</string>
-- 
1.9.1



More information about the subsurface mailing list