comparison libgui/src/dialog.cc @ 31647:431f80aba37a

maint: Merge stable to default.
author John W. Eaton <jwe@octave.org>
date Tue, 06 Dec 2022 15:37:43 -0500
parents 9034cf663768 c6d54dd31a7e
children deb553ac2c54
comparison
equal deleted inserted replaced
31645:bd9da634f00d 31647:431f80aba37a
43 43
44 #include "dialog.h" 44 #include "dialog.h"
45 #include "gui-preferences-global.h" 45 #include "gui-preferences-global.h"
46 #include "gui-settings.h" 46 #include "gui-settings.h"
47 47
48 namespace octave 48 OCTAVE_BEGIN_NAMESPACE(octave)
49 { 49
50 QUIWidgetCreator::QUIWidgetCreator () 50 QUIWidgetCreator::QUIWidgetCreator ()
51 : QObject (), m_dialog_result (-1), m_dialog_button (), 51 : QObject (), m_dialog_result (-1), m_dialog_button (),
52 m_string_list (), m_list_index (), m_path_name () 52 m_string_list (), m_list_index (), m_path_name ()
53 { 53 {
54 connect (this, &QUIWidgetCreator::create_dialog, 54 connect (this, &QUIWidgetCreator::create_dialog,
703 idx = name_filters.indexOf (selectedNameFilter ()) + 1; 703 idx = name_filters.indexOf (selectedNameFilter ()) + 1;
704 704
705 // Send the selected info. 705 // Send the selected info.
706 emit finish_input (string_result, path, idx); 706 emit finish_input (string_result, path, idx);
707 } 707 }
708 } 708
709 OCTAVE_END_NAMESPACE(octave)