changeset 29767:5750f4ad1fbc

eliminate unused signal and unused signal/slot connection * history-dock-widget.h (history_dock_widget::information): Delete unused signal. * main-window.cc (main_window::main_window): Delete unused connection from history_dock_widget::information to main_window::report_status_message.
author John W. Eaton <jwe@octave.org>
date Wed, 16 Jun 2021 21:29:09 -0400
parents 9b19854c8db1
children 38bbe1a2828f
files libgui/src/history-dock-widget.h libgui/src/main-window.cc
diffstat 2 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/libgui/src/history-dock-widget.h	Wed Jun 16 11:25:15 2021 -0400
+++ b/libgui/src/history-dock-widget.h	Wed Jun 16 21:29:09 2021 -0400
@@ -51,8 +51,6 @@
 
   signals:
 
-    void information (const QString& message);
-
     //! Signal emitted whenever the user double-clicks a command in the
     //! history.
 
--- a/libgui/src/main-window.cc	Wed Jun 16 11:25:15 2021 -0400
+++ b/libgui/src/main-window.cc	Wed Jun 16 21:29:09 2021 -0400
@@ -195,9 +195,6 @@
     connect (m_history_window, &history_dock_widget::command_create_script,
              this, &main_window::new_file_signal);
 
-    connect (m_history_window, &history_dock_widget::information,
-             this, &main_window::report_status_message);
-
     connect (m_history_window, &history_dock_widget::command_double_clicked,
              this, &main_window::execute_command_in_terminal);