@@ -162,13 +162,15 @@ namespace config_page
162
162
};
163
163
164
164
template <aiprocess::backend_type_e backend>
165
- auto construct (KTextEditor::ConfigPage & w, ui_t & ui, std::function<void ()> const & emit_chnaged ) -> void
165
+ auto construct (KTextEditor::ConfigPage & w, ui_t & ui, std::function<void ()> emit_changed ) -> void
166
166
{
167
+ aiprocess::debug (" construct() called" );
167
168
QVBoxLayout * main_layout = new QVBoxLayout (&w);
168
169
QTabWidget * ai_tab_widget = new QTabWidget (&w);
169
170
main_layout->addWidget (ai_tab_widget);
170
171
171
- auto emit_changed = [&]<typename ... Args>(Args &&...) { emit_chnaged (); };
172
+ // auto emit_changed = [&]() { pemit_chnaged(); };
173
+ // auto emit_changed = [&]<typename... Args>(Args &&...) { pemit_chnaged(); };
172
174
173
175
// Create a widget to hold the form layout
174
176
QWidget * ai_form_widget = new QWidget ();
@@ -218,14 +220,13 @@ namespace config_page
218
220
219
221
ai_tab_widget->addTab (log_form_widget, i18n (" Logging" ));
220
222
reset<backend>(ui);
223
+ aiprocess::debug (" construct() end" );
221
224
}
222
225
223
226
template auto
224
- construct<aiprocess::backend_type_e::kdevelop>(KTextEditor::ConfigPage &, ui_t &, std::function<void ()> const &)
225
- -> void ;
227
+ construct<aiprocess::backend_type_e::kdevelop>(KTextEditor::ConfigPage &, ui_t &, std::function<void ()>) -> void ;
226
228
template auto
227
- construct<aiprocess::backend_type_e::kate>(KTextEditor::ConfigPage &, ui_t &, std::function<void ()> const &)
228
- -> void ;
229
+ construct<aiprocess::backend_type_e::kate>(KTextEditor::ConfigPage &, ui_t &, std::function<void ()>) -> void ;
229
230
230
231
template <aiprocess::backend_type_e backend>
231
232
auto apply (ui_t & ui) -> void
@@ -249,6 +250,7 @@ namespace config_page
249
250
.important_log_level = level_enum (ui.important_log_level_combo ->currentIndex ()),
250
251
.activation_keys = ui.activation_keys_spin ->value ()
251
252
});
253
+ aiprocess::debug (" apply() end" );
252
254
}
253
255
254
256
template auto apply<aiprocess::backend_type_e::kdevelop>(ui_t &) -> void ;
0 commit comments