diff libgui/src/main-window.h @ 17883:3851e5fde76d

GUI: allow only one release notes windows to be open * libgui/src/main-window.h (class main-window): Added release_notes_window variable. * libgui/src/main-window.cpp (main-window::mainwindow): Initialize release_notes_window variable. (main-window::~mainwindow): call delete on release_notes_window variable. (main_window::display_release_notes): Create release_notes_window only if not already created, and always unminimize/show it.
author John Donoghue <john.donoghue@ieee.org>
date Thu, 07 Nov 2013 10:39:30 -0500
parents 2de613986374
children 2c241092b47b
line wrap: on
line diff
--- a/libgui/src/main-window.h	Thu Nov 07 15:25:34 2013 -0500
+++ b/libgui/src/main-window.h	Thu Nov 07 10:39:30 2013 -0500
@@ -323,6 +323,9 @@
   // Find files dialog
   find_files_dialog * find_files_dlg;
 
+  // release notes window
+  QWidget * release_notes_window;
+
   octave_main_thread *_octave_main_thread;
 
   octave_qt_link *_octave_qt_link;