Gui: Move C++ pref pages to QObject context

This commit is contained in:
Chris Hennes
2023-05-19 20:54:27 -05:00
parent c0726b8481
commit f7a4ce6928
5 changed files with 11 additions and 11 deletions

View File

@@ -100,7 +100,7 @@ PyMOD_INIT_FUNC(StartGui)
Base::Console().Log("Loading GUI of Start module... done\n");
// register preferences pages
new Gui::PrefPageProducer<StartGui::DlgStartPreferencesImp> ("Start");
new Gui::PrefPageProducer<StartGui::DlgStartPreferencesImp> (QT_TRANSLATE_NOOP("QObject", "Start"));
// instantiating the commands
CreateStartCommands();